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