EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairDbTimer Class Reference

#include <EicRoot/blob/master/dbase/dbInterface/FairDbTimer.h>

+ Collaboration diagram for FairDbTimer:

Public Member Functions

 FairDbTimer ()
 
virtual ~FairDbTimer ()
 
void RecBegin (string tableName, UInt_t rowSize)
 
void RecEnd (UInt_t numRows)
 
void RecFillAgg (Int_t aggNo)
 
void RecMainQuery ()
 
void Resume ()
 
void StartSubWatch (UInt_t subWatch)
 
void Suspend ()
 

Private Types

enum  QueryStage { kPassive, kInitialQuery, kMainQuery }
 
enum  { kMaxSubWatch = 4 }
 

Private Attributes

Int_t fCurSubWatch
 
UInt_t fRowSize
 
QueryStage fQueryStage
 
TStopwatch fSubWatches [kMaxSubWatch]
 
string fTableName
 
TStopwatch fWatch
 

Detailed Description

Definition at line 13 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 13 of file FairDbTimer.h

Member Enumeration Documentation

anonymous enum
private
Enumerator:
kMaxSubWatch 

Definition at line 38 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 38 of file FairDbTimer.h

Enumerator:
kPassive 
kInitialQuery 
kMainQuery 

Definition at line 37 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 37 of file FairDbTimer.h

Constructor & Destructor Documentation

FairDbTimer::FairDbTimer ( )
FairDbTimer::~FairDbTimer ( )
virtual

Definition at line 22 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 22 of file FairDbTimer.cxx

Member Function Documentation

void FairDbTimer::RecBegin ( string  tableName,
UInt_t  rowSize 
)

Definition at line 28 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 28 of file FairDbTimer.cxx

References fCurSubWatch, fQueryStage, fRowSize, fSubWatches, fTableName, fWatch, kInitialQuery, kMaxSubWatch, and StartSubWatch().

Referenced by FairDbTimerManager::RecBegin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairDbTimer::RecEnd ( UInt_t  numRows)

Definition at line 44 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 44 of file FairDbTimer.cxx

References fCurSubWatch, fQueryStage, fRowSize, fSubWatches, fTableName, fWatch, kMainQuery, kMaxSubWatch, and kPassive.

Referenced by FairDbTimerManager::RecEnd().

+ Here is the caller graph for this function:

void FairDbTimer::RecFillAgg ( Int_t  aggNo)

Definition at line 92 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 92 of file FairDbTimer.cxx

void FairDbTimer::RecMainQuery ( )

Definition at line 85 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 85 of file FairDbTimer.cxx

References fQueryStage, and kMainQuery.

Referenced by FairDbTimerManager::RecMainQuery().

+ Here is the caller graph for this function:

void FairDbTimer::Resume ( )

Definition at line 97 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 97 of file FairDbTimer.cxx

References fCurSubWatch, fSubWatches, and fWatch.

Referenced by FairDbTimerManager::Pop().

+ Here is the caller graph for this function:

void FairDbTimer::StartSubWatch ( UInt_t  subWatch)

Definition at line 105 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 105 of file FairDbTimer.cxx

References fCurSubWatch, fSubWatches, and kMaxSubWatch.

Referenced by RecBegin(), and FairDbTimerManager::StartSubWatch().

+ Here is the caller graph for this function:

void FairDbTimer::Suspend ( )

Definition at line 117 of file FairDbTimer.cxx.

View newest version in sPHENIX GitHub at line 117 of file FairDbTimer.cxx

References fCurSubWatch, fSubWatches, and fWatch.

Referenced by FairDbTimerManager::Push().

+ Here is the caller graph for this function:

Member Data Documentation

Int_t FairDbTimer::fCurSubWatch
private

Definition at line 42 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 42 of file FairDbTimer.h

Referenced by RecBegin(), RecEnd(), Resume(), StartSubWatch(), and Suspend().

QueryStage FairDbTimer::fQueryStage
private

Definition at line 44 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 44 of file FairDbTimer.h

Referenced by RecBegin(), RecEnd(), and RecMainQuery().

UInt_t FairDbTimer::fRowSize
private

Definition at line 43 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 43 of file FairDbTimer.h

Referenced by RecBegin(), and RecEnd().

TStopwatch FairDbTimer::fSubWatches[kMaxSubWatch]
private

Definition at line 45 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 45 of file FairDbTimer.h

Referenced by RecBegin(), RecEnd(), Resume(), StartSubWatch(), and Suspend().

string FairDbTimer::fTableName
private

Definition at line 46 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 46 of file FairDbTimer.h

Referenced by RecBegin(), and RecEnd().

TStopwatch FairDbTimer::fWatch
private

Definition at line 47 of file FairDbTimer.h.

View newest version in sPHENIX GitHub at line 47 of file FairDbTimer.h

Referenced by RecBegin(), RecEnd(), Resume(), and Suspend().


The documentation for this class was generated from the following files: