12 #ifndef ROOT_TProofProgressStatus 13 #define ROOT_TProofProgressStatus 47 fBytesRead = 0, fProcTime = 0, fCPUTime = 0;
SetLastUpdate();}
56 inline Double_t GetRate()
const {
return ((fProcTime > 0) ? fEntries/fProcTime : 0); }
void IncCPUTime(Double_t procTime)
Double_t GetProcTime() const
void SetLastUpdate(Double_t updtTime=0)
Update time stamp either with the passed value (if > 0) or with the current time. ...
void IncProcTime(Double_t procTime)
void SetReadCalls(Long64_t readCalls)
Long64_t GetEntries() const
void Print(Option_t *option="") const
Dump the content.
Double_t GetLastUpdate() const
Double_t GetLearnTime() const
void SetProcTime(Double_t procTime)
#define ClassDef(name, id)
void IncEntries(Long64_t entries=1)
void IncBytesRead(Long64_t bytesRead)
void SetBytesRead(Long64_t bytesRead)
void IncReadCalls(Long64_t readCalls)
Double_t GetCurrentRate() const
Get current rate. Rteunr the average rate if the current is not defined.
void SetLastEntries(Long64_t entries)
void SetLearnTime(Double_t learnTime)
TProofProgressStatus(Long64_t fEntries=0, Long64_t fBytesRead=0, Long64_t fReadCalls=0, Double_t fProcTime=0, Double_t fCPUTime=0)
Main and default constructor.
void SetLastProcTime(Double_t procTime)
void SetEntries(Long64_t entries)
Double_t GetCPUTime() const
Long64_t GetReadCalls() const
Mother of all ROOT objects.
Long64_t GetBytesRead() const
TProofProgressStatus operator-(TProofProgressStatus &st)
'-' operator
TProofProgressStatus & operator+=(const TProofProgressStatus &st)
'+=' operator
Container class for processing statistics.
void SetCPUTime(Double_t procTime)
TProofProgressStatus & operator-=(const TProofProgressStatus &st)
'-=' operator