ROOT » PROOF » PROOFBENCH » TProofBenchRunCPU

class TProofBenchRunCPU: public TProofBenchRun


TProofBenchRunCPU

CPU-intensive PROOF benchmark test generates events and fill 1, 2,
or 3-D histograms. No I/O activity is involved.


Function Members (Methods)

public:
virtual~TProofBenchRunCPU()
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
voidDrawPerfPlots()
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*GetCanvas() const
Int_tGetDebug() const
TDirectory*GetDirProofBench() const
Int_tGetDraw() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TPBHistType*GetHistType() const
virtual const char*TObject::GetIconName() const
TList*GetListPerfPlots() const
virtual const char*GetName() const
TStringGetNameStem() const
Long64_tGetNEvents() const
Int_tGetNHists() 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()
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
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
TProofBenchRunCPU&operator=(const TProofBenchRunCPU&)
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 nevents, Int_t start, Int_t stop, Int_t step, Int_t ntries, Int_t debug, Int_t draw)
virtual voidRun(const char*, Int_t, Int_t, Int_t, Int_t, Int_t, 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)
voidSetDraw(Int_t draw)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetHistType(TPBHistType* histtype)
voidSetNEvents(Long64_t nevents)
voidSetNHists(Int_t nhists)
voidSetNTries(Int_t ntries)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTProofBenchRun::SetParList(const char* pars)
virtual voidTProofBenchRun::SetSelName(const char* sel)
virtual voidTProofBenchRun::SetSelOption(const char* opt)
voidSetStart(Int_t start)
voidSetStep(Int_t step)
voidSetStop(Int_t stop)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
TProofBenchRunCPU(const TProofBenchRunCPU&)
TProofBenchRunCPU(TPBHistType* histtype = 0, Int_t nhists = 16, TDirectory* dirproofbench = 0, TProof* proof = 0, TProofNodes* nodes = 0, Long64_t nevents = 1000000, Int_t ntries = 2, Int_t start = 1, Int_t stop = -1, Int_t step = 1, Int_t draw = 0, Int_t debug = 0)
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
voidFillPerfStatPerfPlots(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

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
TStringTProofBenchRun::fParListList of PARs to be loaded
TProof*TProofBenchRun::fProofProof
TStringTProofBenchRun::fSelNameName of the selector to be run
TStringTProofBenchRun::fSelOptionOption field for processing the selector
private:
TCanvas*fCanvascanvas for performance plots
Int_tfDebugdebug switch
TDirectory*fDirProofBenchdirectory for proof outputs
Int_tfDrawdraw switch
TPBHistType*fHistTypehistogram type
TH2*fHist_perfstat_event
TList*fListPerfPlotslist of performance plots
Long64_tfNEventsnumber of events to generate
Int_tfNHistsnumber of histograms
Int_tfNTriesnumber of tries
TStringfNamename of CPU run
TProofNodes*fNodesnode information
TLegend*fNormLegendLegend for norms
TProfile*fNorm_perfstat_evtmax
TProfile*fNorm_queryresult_event
TLegend*fProfLegendLegend for profiles
TProfile*fProfile_cpu_eff
TProfile*fProfile_perfstat_event
TProfile*fProfile_perfstat_evtmax
TProfile*fProfile_queryresult_event
Int_tfStartstart number of workers to scan
Int_tfSteptest to be performed every fStep workers
Int_tfStopstop number of workers to scan

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TProofBenchRunCPU(TPBHistType* histtype = 0, Int_t nhists = 16, TDirectory* dirproofbench = 0, TProof* proof = 0, TProofNodes* nodes = 0, Long64_t nevents = 1000000, Int_t ntries = 2, Int_t start = 1, Int_t stop = -1, Int_t step = 1, Int_t draw = 0, Int_t debug = 0)
 Default constructor
~TProofBenchRunCPU()
 Destructor
void BuildHistos(Int_t start, Int_t stop, Int_t step, Bool_t nx)
 Build histograms, profiles and graphs needed for this run
void Run(Long64_t nevents, Int_t start, Int_t stop, Int_t step, Int_t ntries, Int_t debug, Int_t draw)
 Run benchmark
 Input parameters
   nevents:   Number of events to run per file. When it is -1, use data member fNEvents.
   start: Start scan with 'start' workers. When it is -1, use data member fStart.
          When 0, the same number of workers are activated on all nodes.
   stop: Stop scan at 'stop' workers. When it is -1 , use data member fStop.
   step: Scan every 'step' workers. When it is -1, use data member fStep.
   ntries: Number of repetitions.  When it is -1, use data member fNTries.
   debug: debug switch. When it is -1, use data member fDebug.
   draw: draw switch. When it is -1, use data member fDraw.
 Returns
    Nothing
void FillPerfStatPerfPlots(TTree* t, Int_t nactive)
void Print(Option_t* option = "") const
 Show settings
void DrawPerfPlots()
 Draw Performance plots
void SetHistType(TPBHistType* histtype)
 Set histogram type
TString GetNameStem() const
 Get name for this run
Int_t SetParameters()
 Set parameters
Int_t DeleteParameters()
 Delete parameters set for this run
TProofBenchRunCPU(TPBHistType* histtype = 0, Int_t nhists = 16, TDirectory* dirproofbench = 0, TProof* proof = 0, TProofNodes* nodes = 0, Long64_t nevents = 1000000, Int_t ntries = 2, Int_t start = 1, Int_t stop = -1, Int_t step = 1, Int_t draw = 0, Int_t debug = 0)
void Run(Long64_t nevents, Int_t start, Int_t stop, Int_t step, Int_t ntries, Int_t debug, Int_t draw)
{ }
void SetNHists(Int_t nhists)
{ fNHists = nhists; }
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 SetDraw(Int_t draw)
{ fDraw = draw; }
void SetDebug(Int_t debug)
{ fDebug = debug; }
void SetDirProofBench(TDirectory* dir)
{ fDirProofBench = dir; }
TPBHistType * GetHistType() const
{ return fHistType; }
Int_t GetNHists() const
{ return fNHists; }
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 GetDraw() const
{ return fDraw; }
Int_t GetDebug() const
{ return fDebug; }
TDirectory* GetDirProofBench() const
{ return fDirProofBench; }
TList* GetListPerfPlots() const
{ return fListPerfPlots; }
TCanvas* GetCanvas() const
{ return fCanvas; }
const char* GetName() const
{ return fName; }