ROOT logo
ROOT » PROOF » PROOF » TProofProgressStatus

class TProofProgressStatus: public TObject


TProofProgressStatus

Small class including processing statistics


Function Members (Methods)

public:
TProofProgressStatus(const TProofProgressStatus&)
TProofProgressStatus(Long64_t fEntries = 0, Long64_t fBytesRead = 0, Long64_t fReadCalls = 0, Double_t fProcTime = 0, Double_t fCPUTime = 0)
~TProofProgressStatus()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Long64_tGetBytesRead() const
Double_tGetCPUTime() const
Double_tGetCurrentRate() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Long64_tGetEntries() const
virtual const char*TObject::GetIconName() const
Double_tGetLastUpdate() const
Double_tGetLearnTime() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetProcTime() const
Double_tGetRate() const
Long64_tGetReadCalls() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidIncBytesRead(Long64_t bytesRead)
voidIncCPUTime(Double_t procTime)
voidIncEntries(Long64_t entries = 1)
voidIncProcTime(Double_t procTime)
voidIncReadCalls(Long64_t readCalls)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TProofProgressStatus&operator+=(const TProofProgressStatus& st)
TProofProgressStatusoperator-(TProofProgressStatus& st)
TProofProgressStatus&operator-=(const TProofProgressStatus& st)
TProofProgressStatus&operator=(const TProofProgressStatus&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidReset()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetBytesRead(Long64_t bytesRead)
voidSetCPUTime(Double_t procTime)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEntries(Long64_t entries)
voidSetLastEntries(Long64_t entries)
voidSetLastProcTime(Double_t procTime)
voidSetLastUpdate(Double_t updtTime = 0)
voidSetLearnTime(Double_t learnTime)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetProcTime(Double_t procTime)
voidSetReadCalls(Long64_t readCalls)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum EStatusBits { kFileNotOpen
kFileCorrupted
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
Long64_tfBytesRead
Double_tfCPUTime
Long64_tfEntries
Long64_tfLastEntriesLast chunck
Double_tfLastProcTimethe wallclock time of the last addition
Double_tfLastUpdateTimestamp of last change
Double_tfLearnTimethe time spent in learning phase
Double_tfProcTimethe wallclock time
Long64_tfReadCalls

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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
TProofProgressStatus& operator+=(const TProofProgressStatus& st)
 '+=' operator
TProofProgressStatus& operator-=(const TProofProgressStatus& st)
 '-=' operator
TProofProgressStatus operator-(TProofProgressStatus& st)
 '-' operator
void Print(Option_t* option = "") const
 Dump the content
void SetLastUpdate(Double_t updtTime = 0)
 Update time stamp either with the passed value (if > 0) or with
 the current time
Double_t GetCurrentRate() const
 Get current rate. Rteunr the average rate if the current is not defined
TProofProgressStatus(Long64_t fEntries = 0, Long64_t fBytesRead = 0, Long64_t fReadCalls = 0, Double_t fProcTime = 0, Double_t fCPUTime = 0)
Long64_t GetEntries() const
{ return fEntries; }
Long64_t GetBytesRead() const
{ return fBytesRead; }
Long64_t GetReadCalls() const
{ return fReadCalls; }
Double_t GetLearnTime() const
{ return fLearnTime; }
Double_t GetProcTime() const
{ return fProcTime; }
Double_t GetCPUTime() const
{ return fCPUTime; }
Double_t GetLastUpdate() const
{ return fLastUpdate; }
Double_t GetRate() const
{ return ((fProcTime > 0) ? fEntries/fProcTime : 0); }
void SetLastEntries(Long64_t entries)
{ fLastEntries = entries;}
void SetEntries(Long64_t entries)
{ fEntries = entries; SetLastUpdate();}
void IncEntries(Long64_t entries = 1)
{ fLastEntries = entries; fEntries += entries; SetLastUpdate();}
void IncBytesRead(Long64_t bytesRead)
{ fBytesRead += bytesRead; SetLastUpdate();}
void SetBytesRead(Long64_t bytesRead)
{ fBytesRead = bytesRead; SetLastUpdate();}
void IncReadCalls(Long64_t readCalls)
{ fReadCalls += readCalls; SetLastUpdate();}
void SetReadCalls(Long64_t readCalls)
{ fReadCalls = readCalls; SetLastUpdate();}
void SetLearnTime(Double_t learnTime)
{ fLearnTime = learnTime; }
void SetLastProcTime(Double_t procTime)
{ fLastProcTime = procTime; }
void SetProcTime(Double_t procTime)
{ fProcTime = procTime; }
void IncProcTime(Double_t procTime)
{ fLastProcTime = procTime; fProcTime += procTime; }
void SetCPUTime(Double_t procTime)
{ fCPUTime = procTime; }
void IncCPUTime(Double_t procTime)
{ fCPUTime += procTime; }