12 #ifndef ROOT_TPerfStats
13 #define ROOT_TPerfStats
28 #ifndef ROOT_TObjArray
31 #ifndef ROOT_TTimeStamp
37 #ifndef ROOT_TVirtualPerfStats
131 void FileEvent(
const char *slave,
const char *slavename,
const char *nodename,
const char *
filename,
TVirtualPerfStats::EEventType fType
Bool_t fDoHist
number of active slaves
TH1D * fEventsHist
histogram of packets being processed per slave
TList * fOutput
Saved pointer to the TDSet object.
Provides the interface for the PROOF internal performance measurement and event tracing.
void SetNumEvents(Long64_t num)
TDSet * fDSet
of files in the dataset
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
static const char * filename()
TPerfStats(TList *input, TList *output)
Max resident memory used by this process.
TTimeStamp fTzero
TTree with trace events.
Long64_t fNumEvents
total number of events processed
static Long_t fgVirtMemMax
Saved pointer to the output list.
Long64_t GetBytesRead() const
Get number of bytes read.
void WriteQueryLog()
Send to the connected monitoring servers information related to this query.
Bool_t IsSortable() const
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)
Packet event.
TH1D * fNodeHist
histogram of events processed per slave
void RateEvent(Double_t proctime, Double_t deltatime, Long64_t eventsprocessed, Long64_t bytesRead)
Rate event.
#define ClassDef(name, id)
TH2D * fLatencyHist
histogram of slaves per file serving node
TH1D * fPacketsHist
TPerfEvent used to fill tree.
void SimpleEvent(EEventType type)
Simple event.
Bool_t fDoQuota
Full tracing in workers.
TObjArray fMonSenders
Whether to send the full entry per each packet.
void SetBytesRead(Long64_t num)
Set number of bytes read.
static void GetMemValues(Long_t &vmax, Long_t &rmax)
Get memory usage.
Double_t fTotCpuTime
track bytes read of main file
Bool_t fDoSlaveTrace
Trace processing rate in master.
static void Start(TList *input, TList *output)
Initialize PROOF statistics run.
TH1I * fProcPcktHist
histogram of packets processed per slave
void UnzipEvent(TObject *tree, Long64_t pos, Double_t start, Int_t complen, Int_t objlen)
Record TTree file unzip event.
TString fDataSet
Monitoring engines.
static void Setup(TList *input)
Setup the PROOF input list with requested statistics and tracing options.
Long64_t fTotEvents
total bytes read on all slaves
Bool_t fMonitorPerPacket
Save stats on SQL server for quota management.
TPerfEvent * fPerfEvent
start time of this run
Long64_t fEventsProcessed
Int_t fSlaves
total number of events to be processed
1-D histogram with a int per channel (see TH1 documentation)}
Long64_t GetNumEvents() const
Long64_t fBytesRead
histogram of cpu time spent processing packets
Int_t fDataSetSize
Maximum size of the dataset string fDataSet.
static Long_t fgResMemMax
Max virtual memory used by this process.
1-D histogram with a double per channel (see TH1 documentation)}
void Print(Option_t *option="") const
Dump content of this instance.
The TTimeStamp encapsulates seconds and ns since EPOCH.
TPerfEvent(TTimeStamp *offset=0)
Int_t fDataSetLen
Dataset string.
Bool_t fDoTrace
Fill histos.
void FileOpenEvent(TFile *file, const char *filename, Double_t start)
Open file event.
Mother of all ROOT objects.
virtual ~TPerfStats()
Destructor.
Long64_t fTotBytesRead
total cpu time of all slaves
Bool_t fDoTraceRate
Trace details in master.
void FileEvent(const char *slave, const char *slavename, const char *nodename, const char *filename, Bool_t isStart)
File event.
static void Stop()
Terminate the PROOF statistics run.
A TTree object has a header with a name and a title.
TH2D * fCpuTimeHist
histogram of real time spent processing packets
static void output(int code)
TH2D * fProcTimeHist
histogram of latency due to packet requests
static void SetMemValues()
Record memory usage.
void FileReadEvent(TFile *file, Int_t len, Double_t start)
Read file event.
Int_t Compare(const TObject *obj) const
Compare method.
2-D histogram with a double per channel (see TH1 documentation)}