ROOT logo
ROOT » PROOF » PROOFBENCH » TProofBenchRunDataRead

class TProofBenchRunDataRead: public TProofBenchRun


TProofBenchRunDataRead

I/O-intensive PROOF benchmark test reads in event files distributed
on the cluster. Number of events processed per second and size of
events processed per second are plotted against number of active
workers. Performance rate for unit packets and performance rate
for query are plotted.


Function Members (Methods)

public:
TProofBenchRunDataRead(const TProofBenchRunDataRead&)
TProofBenchRunDataRead(TProofBenchDataSet* pbds, TPBReadType* readtype = 0, TDirectory* dirproofbench = 0, TProof* proof = 0, TProofNodes* nodes = 0, Long64_t nevents = -1, Int_t ntries = 2, Int_t start = 1, Int_t stop = -1, Int_t step = 1, Int_t debug = 0)
virtual~TProofBenchRunDataRead()
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
voidDrawPerfProfiles()
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
TCanvas*GetCPerfProfiles() const
TFileCollection*GetDataSet(const char* dset, Int_t nact, Bool_t nx)
Int_tGetDebug() const
TDirectory*GetDirProofBench() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*GetName() const
TStringGetNameStem() const
Long64_tGetNEvents() const
Int_tGetNTries() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TProofBenchRun::GetParList()
TPBReadType*GetReadType() const
virtual const char*TProofBenchRun::GetSelName()
Int_tGetStart() const
Int_tGetStep() const
Int_tGetStop() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
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)
TProofBenchRunDataRead&operator=(const TProofBenchRunDataRead&)
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)
voidTObject::ResetBit(UInt_t f)
virtual voidRun(Long64_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t)
virtual voidRun(const char* dset, Int_t start, Int_t stop, Int_t step, Int_t ntries, Int_t debug, Int_t)
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)
voidSetDebug(Int_t debug)
voidSetDirProofBench(TDirectory* dir)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFilesPerWrk(Int_t fpw)
voidSetNEvents(Long64_t nevents)
voidSetNTries(Int_t ntries)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTProofBenchRun::SetParList(const char* pars)
voidSetReadType(TPBReadType* readtype)
virtual voidTProofBenchRun::SetSelName(const char* sel)
voidSetStart(Int_t start)
voidSetStep(Int_t step)
voidSetStop(Int_t stop)
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:
Int_tDeleteParameters()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidFillPerfStatProfiles(TTree* t, Int_t nactive)
voidTObject::MakeZombie()
Int_tSetParameters()
private:
voidBuildHistos(Int_t start, Int_t stop, Int_t step, Bool_t nx)

Data Members

protected:
TStringTProofBenchRun::fParListList of PARs to be loaded
TProof*TProofBenchRun::fProofProof
TStringTProofBenchRun::fSelNameName of the selector to be run
private:
TCanvas*fCPerfProfilescanvas for performance profile histograms
TProofBenchDataSet*fDSdataset operations handler
Int_tfDebugdebug switch
TDirectory*fDirProofBenchdirectory for proof outputs
Int_tfFilesPerWrk# of files to be processed per worker
TH2*fHist_perfstat_IO
TH2*fHist_perfstat_event
TList*fListPerfPlotslist of performance plots
Long64_tfNEventsnumber of events per file
Int_tfNTriesnumber of tries
TStringfNamename of this run
TProofNodes*fNodeslist of nodes information
TProfile*fNorm_queryresult_IO
TProfile*fNorm_queryresult_event
TProfile*fProfile_perfstat_IO
TProfile*fProfile_perfstat_event
TProfile*fProfile_queryresult_IO
TProfile*fProfile_queryresult_event
TProof*fProofpointer to proof
TPBReadType*fReadTyperead type
Int_tfStartstart number of workers
Int_tfSteptest to be performed every fStep workers
Int_tfStopstop number of workers

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TProofBenchRunDataRead(TProofBenchDataSet* pbds, TPBReadType* readtype = 0, TDirectory* dirproofbench = 0, TProof* proof = 0, TProofNodes* nodes = 0, Long64_t nevents = -1, Int_t ntries = 2, Int_t start = 1, Int_t stop = -1, Int_t step = 1, Int_t debug = 0)
~TProofBenchRunDataRead()
 Destructor
void Run(const char* dset, Int_t start, Int_t stop, Int_t step, Int_t ntries, Int_t debug, Int_t )
 Run benchmark
 Input parameters
    dset:    Dataset on which to run
    start: Start scan with 'start' workers.
    stop: Stop scan at 'stop workers.
    step: Scan every 'step' workers.
    ntries: Number of tries. When it is -1, data member fNTries is used.
    debug: debug switch.
    Int_t: Ignored
 Returns
    Nothing
TFileCollection * GetDataSet(const char* dset, Int_t nact, Bool_t nx)
 Get a subsample of dsname suited to run with 'nact' and option 'nx'.
void FillPerfStatProfiles(TTree* t, Int_t nactive)
void Print(Option_t* option = "") const
 Print the content of this object
void DrawPerfProfiles()
 Get canvas
TString GetNameStem() const
 Get name for this run
Int_t SetParameters()
 Set parameters
Int_t DeleteParameters()
 Delete parameters set for this run
void BuildHistos(Int_t start, Int_t stop, Int_t step, Bool_t nx)
 Build histograms, profiles and graphs needed for this run
TProofBenchRunDataRead(TProofBenchDataSet* pbds, TPBReadType* readtype = 0, TDirectory* dirproofbench = 0, TProof* proof = 0, TProofNodes* nodes = 0, Long64_t nevents = -1, Int_t ntries = 2, Int_t start = 1, Int_t stop = -1, Int_t step = 1, Int_t debug = 0)
void Run(Long64_t , Int_t , Int_t , Int_t , Int_t , Int_t , Int_t )
{ }
void SetReadType(TPBReadType* readtype)
{ fReadType = readtype; }
void SetNEvents(Long64_t nevents)
{ fNEvents = nevents; }
void SetNTries(Int_t ntries)
{ fNTries = ntries; }
void SetStart(Int_t start)
{ fStart = start; }
void SetStop(Int_t stop)
{ fStop = stop; }
void SetStep(Int_t step)
{ fStep = step; }
void SetDebug(Int_t debug)
{ fDebug = debug; }
void SetDirProofBench(TDirectory* dir)
void SetFilesPerWrk(Int_t fpw)
{ fFilesPerWrk = fpw; }
TPBReadType * GetReadType() const
{ return fReadType; }
Long64_t GetNEvents() const
{ return fNEvents; }
Int_t GetNTries() const
{ return fNTries; }
Int_t GetStart() const
{ return fStart; }
Int_t GetStop() const
{ return fStop; }
Int_t GetStep() const
{ return fStep; }
Int_t GetDebug() const
{ return fDebug; }
TDirectory* GetDirProofBench() const
{ return fDirProofBench; }
TCanvas* GetCPerfProfiles() const
{ return fCPerfProfiles; }
const char* GetName() const
{ return fName; }