12 #ifndef ROOT_TTreePerfStats
13 #define ROOT_TTreePerfStats
24 #ifndef ROOT_TVirtualPerfStats
96 virtual void PacketEvent(
const char *,
const char *,
const char *,
98 virtual void FileEvent(
const char *,
const char *,
const char *,
const char *,
Bool_t) {}
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Return distance to one of the objects in the TTreePerfStats.
virtual void Browse(TBrowser *b)
Browse.
virtual void SetBytesReadExtra(Long64_t nbytes)
virtual void SetDiskTime(Double_t t)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Return distance to one of the objects in the TTreePerfStats.
virtual void FileReadEvent(TFile *file, Int_t len, Double_t start)
Record TTree file read event.
TStopwatch * GetStopwatch() const
TGraphErrors * fGraphIO
pointer to the Tree being monitored
virtual Int_t GetNleaves() const
TGraphErrors * GetGraphTime()
virtual void SetNumEvents(Long64_t)
Provides the interface for the PROOF internal performance measurement and event tracing.
virtual void FileOpenEvent(TFile *, const char *, Double_t)
virtual Int_t GetTreeCacheSize() const
virtual void Finish()
When the run is finished this function must be called to save the current parameters in the file and ...
virtual void SetReadaheadSize(Int_t nbytes)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual Long64_t GetBytesReadExtra() const
static const char * filename()
virtual void SimpleEvent(EEventType)
const char * Data() const
virtual void RateEvent(Double_t, Double_t, Long64_t, Long64_t)
virtual void SetCpuTime(Double_t cptime)
#define ClassDef(name, id)
virtual Double_t GetRealTime() const
virtual void SetTreeCacheSize(Int_t nbytes)
virtual void SetBytesRead(Long64_t nbytes)
Base class for several text objects.
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save this object to filename.
const char * GetHostInfo() const
virtual Double_t GetDiskTime() const
virtual void SetCompress(Double_t cx)
virtual void SetRealTime(Double_t rtime)
virtual void SetGraphTime(TGraphErrors *gr)
virtual void FileEvent(const char *, const char *, const char *, const char *, Bool_t)
virtual void SetGraphIO(TGraphErrors *gr)
Using a TBrowser one can browse all ROOT objects.
virtual void SetName(const char *name)
virtual Int_t GetReadaheadSize() const
virtual void UnzipEvent(TObject *tree, Long64_t pos, Double_t start, Int_t complen, Int_t objlen)
Record TTree unzip event.
virtual ~TTreePerfStats()
Destructor.
virtual Long64_t GetBytesRead() const
virtual void SetReadCalls(Int_t ncalls)
TTree I/O performance measurement.
TGraphErrors * GetGraphIO()
virtual void SetNleaves(Int_t nleaves)
virtual Long64_t GetNumEvents() const
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void SetRealNorm(Double_t rnorm)
virtual void SetUnzipTime(Double_t uztime)
virtual Double_t GetCpuTime() const
virtual void Print(Option_t *option="") const
Print the TTree I/O perf stats.
virtual void PacketEvent(const char *, const char *, const char *, Long64_t, Double_t, Double_t, Double_t, Long64_t)
Mother of all ROOT objects.
virtual Int_t GetReadCalls() const
virtual void SetHostInfo(const char *info)
virtual void Paint(Option_t *chopt="")
Draw the TTree I/O perf graph.
TTree * fTree
pointer to the file containing the Tree
A TGraphErrors is a TGraph with error bars.
virtual Double_t GetUnzipTime() const
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
A TTree object has a header with a name and a title.
TGraphErrors * fGraphTime
virtual void Draw(Option_t *option="")
Draw the TTree I/O perf graph.
const char * GetName() const
Returns name of object.