12#ifndef ROOT_TVirtualPerfStats
13#define ROOT_TVirtualPerfStats
52 virtual void PacketEvent(
const char *slave,
const char *slavename,
const char *filename,
57 virtual void FileEvent(
const char *slave,
const char *slavename,
const char *nodename,
58 const char *filename,
Bool_t isStart) = 0;
76 virtual void SetLoaded(
size_t bi,
size_t basketNumber) = 0;
80 virtual void SetMissed(
size_t bi,
size_t basketNumber) = 0;
82 virtual void SetUsed(
size_t bi,
size_t basketNumber) = 0;
92#define gPerfStats (TVirtualPerfStats::CurrentPerfStats())
94#elif defined(__MAKECINT__)
#define ClassDef(name, id)
A TTree is a list of TBranches.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Mother of all ROOT objects.
Provides the interface for the PROOF internal performance measurement and event tracing.
virtual void PacketEvent(const char *slave, const char *slavename, const char *filename, Long64_t eventsprocessed, Double_t latency, Double_t proctime, Double_t cputime, Long64_t bytesRead)=0
virtual void SetBytesRead(Long64_t num)=0
virtual void SetLoadedMiss(size_t bi, size_t basketNumber)=0
virtual void RateEvent(Double_t proctime, Double_t deltatime, Long64_t eventsprocessed, Long64_t bytesRead)=0
virtual void UnzipEvent(TObject *tree, Long64_t pos, Double_t start, Int_t complen, Int_t objlen)=0
virtual void FileOpenEvent(TFile *file, const char *filename, Double_t start)=0
virtual Long64_t GetBytesRead() const =0
virtual void SimpleEvent(EEventType type)=0
virtual void SetUsed(TBranch *b, size_t basketNumber)=0
virtual void SetLoaded(TBranch *b, size_t basketNumber)=0
virtual void SetMissed(TBranch *b, size_t basketNumber)=0
virtual void FileEvent(const char *slave, const char *slavename, const char *nodename, const char *filename, Bool_t isStart)=0
virtual void SetLoaded(size_t bi, size_t basketNumber)=0
static TVirtualPerfStats *& CurrentPerfStats()
Return the current ROOT perf stats if any.
virtual void PrintBasketInfo(Option_t *option="") const =0
virtual void FileReadEvent(TFile *file, Int_t len, Double_t start)=0
virtual ~TVirtualPerfStats()
virtual void SetNumEvents(Long64_t num)=0
virtual void SetLoadedMiss(TBranch *b, size_t basketNumber)=0
virtual void SetUsed(size_t bi, size_t basketNumber)=0
virtual void SetMissed(size_t bi, size_t basketNumber)=0
virtual void UpdateBranchIndices(TObjArray *branches)=0
virtual Long64_t GetNumEvents() const =0
static const char * EventType(EEventType type)
Return the name of the event type.