TBenchmark Class Reference

#include <TBenchmark.h>

Inheritance diagram for TBenchmark:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Member Functions

 TBenchmark ()
virtual ~TBenchmark ()
Int_t GetBench (const char *name) const
Float_t GetCpuTime (const char *name)
Float_t GetRealTime (const char *name)
virtual void Print (Option_t *name="") const
virtual void Reset ()
virtual void Show (const char *name)
virtual void Start (const char *name)
virtual void Stop (const char *name)
virtual void Summary (Float_t &rt, Float_t &cp)
 TBenchmark ()
virtual ~TBenchmark ()
Int_t GetBench (const char *name) const
Float_t GetCpuTime (const char *name)
Float_t GetRealTime (const char *name)
virtual void Print (Option_t *name="") const
virtual void Reset ()
virtual void Show (const char *name)
virtual void Start (const char *name)
virtual void Stop (const char *name)
virtual void Summary (Float_t &rt, Float_t &cp)

Protected Member Functions

 TBenchmark (const TBenchmark &)
TBenchmarkoperator= (const TBenchmark &)
 TBenchmark (const TBenchmark &)
TBenchmarkoperator= (const TBenchmark &)

Protected Attributes

Int_t fNbench
Int_t fNmax
TStringfNames
Float_tfRealTime
Float_tfCpuTime
TStopwatchfTimer
TStringfNames
Float_tfRealTime
Float_tfCpuTime
TStopwatchfTimer

Detailed Description

Definition at line 33 of file TBenchmark.h.


Constructor & Destructor Documentation

TBenchmark::TBenchmark ( const TBenchmark  )  [protected]

Definition at line 43 of file TBenchmark.cxx.

References fCpuTime, fNames, fNmax, fRealTime, fTimer, and i.

TBenchmark::TBenchmark (  ) 

TBenchmark::~TBenchmark (  )  [virtual]

Definition at line 96 of file TBenchmark.cxx.

References fCpuTime, fNames, fNbench, fRealTime, and fTimer.

TBenchmark::TBenchmark ( const TBenchmark  )  [protected]

TBenchmark::TBenchmark (  ) 

virtual TBenchmark::~TBenchmark (  )  [virtual]


Member Function Documentation

TBenchmark & TBenchmark::operator= ( const TBenchmark  )  [protected]

Definition at line 67 of file TBenchmark.cxx.

References fCpuTime, fNames, fNbench, fNmax, fRealTime, fTimer, i, and TNamed::operator=().

Int_t TBenchmark::GetBench ( const char *  name  )  const

Definition at line 109 of file TBenchmark.cxx.

References fNames, fNbench, and i.

Referenced by GetCpuTime(), GetRealTime(), h1draw(), ntuple1(), Print(), Start(), and Stop().

Float_t TBenchmark::GetCpuTime ( const char *  name  ) 

Definition at line 121 of file TBenchmark.cxx.

References fCpuTime, and GetBench().

Referenced by DrawMarks(), main(), GoFTStress::PrintBenchmark(), stress(), stressFit(), stressGraphics(), stressGUI(), stressHistogram(), stressLinear(), stressMathCore(), stressMathMore(), stressRooFit(), stressShapes(), stressSpectrum(), and tornado().

Float_t TBenchmark::GetRealTime ( const char *  name  ) 

Definition at line 132 of file TBenchmark.cxx.

References fRealTime, and GetBench().

Referenced by DrawMarks(), and stressGUI().

void TBenchmark::Print ( Option_t name = ""  )  const [virtual]

Reimplemented from TNamed.

Definition at line 143 of file TBenchmark.cxx.

References fCpuTime, fRealTime, GetBench(), and Printf().

Referenced by GoFTStress::PrintBenchmark(), Show(), stress(), stressFit(), stressGraphics(), stressGUI(), stressHistogram(), stressLinear(), stressMathCore(), stressMathMore(), stressRooFit(), stressShapes(), and stressSpectrum().

void TBenchmark::Reset (  )  [virtual]

Definition at line 154 of file TBenchmark.cxx.

References fNbench.

void TBenchmark::Show ( const char *  name  )  [virtual]

Definition at line 164 of file TBenchmark.cxx.

References Print(), and Stop().

Referenced by canvas_read(), canvas_write(), ConnectToServer(), fillrandom(), fit1(), GenerateDrawHist(), guitest_playback(), hclient(), hsimple(), hsum(), hsumanim(), htw(), hvector(), na49(), na49geomfile(), na49view(), ntuple1(), stress1(), stress10(), stress12(), stress13(), stress15(), stress16(), stress2(), stress3(), stress4(), stress5(), stress6(), stress7(), stress8(), stress9tree(), tcl(), th2polyEurope(), and tornado().

void TBenchmark::Start ( const char *  name  )  [virtual]

Definition at line 174 of file TBenchmark.cxx.

References TStopwatch::Continue(), fCpuTime, fNames, fNbench, fNmax, fRealTime, fTimer, GetBench(), TStopwatch::Reset(), TStopwatch::Start(), and TObject::Warning().

Referenced by canvas_read(), canvas_write(), fillrandom(), fit1(), GenerateDrawHist(), guitest_playback(), hclient(), hclientbonj(), hsimple(), hsum(), hsumanim(), htw(), hvector(), main(), na49(), na49geomfile(), na49view(), ntuple1(), qa2(), RunTests(), stress(), stress1(), stress10(), stress12(), stress13(), stress15(), stress16(), stress2(), stress3(), stress4(), stress5(), stress6(), stress7(), stress8(), stress9tree(), stressFit(), stressGraphics(), stressGUI(), stressHistogram(), stressLinear(), stressMathCore(), stressMathMore(), stressRooFit(), stressShapes(), stressSpectrum(), tcl(), th2polyEurope(), and tornado().

void TBenchmark::Stop ( const char *  name  )  [virtual]

Definition at line 214 of file TBenchmark.cxx.

References TStopwatch::CpuTime(), fCpuTime, fRealTime, fTimer, GetBench(), TStopwatch::RealTime(), and TStopwatch::Stop().

Referenced by GenerateDrawHist(), main(), RunTests(), Show(), stress(), stressFit(), stressGraphics(), stressGUI(), stressHistogram(), stressLinear(), stressMathCore(), stressMathMore(), stressRooFit(), stressShapes(), and stressSpectrum().

void TBenchmark::Summary ( Float_t rt,
Float_t cp 
) [virtual]

Definition at line 229 of file TBenchmark.cxx.

References fCpuTime, fNames, fNbench, fRealTime, i, and Printf().

TBenchmark& TBenchmark::operator= ( const TBenchmark  )  [protected]

Int_t TBenchmark::GetBench ( const char *  name  )  const

Float_t TBenchmark::GetCpuTime ( const char *  name  ) 

Float_t TBenchmark::GetRealTime ( const char *  name  ) 

virtual void TBenchmark::Print ( Option_t name = ""  )  const [virtual]

Reimplemented from TNamed.

virtual void TBenchmark::Reset (  )  [virtual]

virtual void TBenchmark::Show ( const char *  name  )  [virtual]

virtual void TBenchmark::Start ( const char *  name  )  [virtual]

virtual void TBenchmark::Stop ( const char *  name  )  [virtual]

virtual void TBenchmark::Summary ( Float_t rt,
Float_t cp 
) [virtual]


Member Data Documentation

Int_t TBenchmark::fNbench [protected]

Definition at line 37 of file TBenchmark.h.

Referenced by GetBench(), operator=(), Reset(), Start(), Summary(), and ~TBenchmark().

Int_t TBenchmark::fNmax [protected]

Definition at line 38 of file TBenchmark.h.

Referenced by operator=(), Start(), and TBenchmark().

TString* TBenchmark::fNames [protected]

Definition at line 39 of file TBenchmark.h.

Referenced by GetBench(), operator=(), Start(), Summary(), TBenchmark(), and ~TBenchmark().

Float_t* TBenchmark::fRealTime [protected]

Definition at line 40 of file TBenchmark.h.

Referenced by GetRealTime(), operator=(), Print(), Start(), Stop(), Summary(), TBenchmark(), and ~TBenchmark().

Float_t* TBenchmark::fCpuTime [protected]

Definition at line 41 of file TBenchmark.h.

Referenced by GetCpuTime(), operator=(), Print(), Start(), Stop(), Summary(), TBenchmark(), and ~TBenchmark().

TStopwatch* TBenchmark::fTimer [protected]

Definition at line 42 of file TBenchmark.h.

Referenced by operator=(), Start(), Stop(), TBenchmark(), and ~TBenchmark().

TString* TBenchmark::fNames [protected]

Definition at line 39 of file TBenchmark.h.

Float_t* TBenchmark::fRealTime [protected]

Definition at line 40 of file TBenchmark.h.

Float_t* TBenchmark::fCpuTime [protected]

Definition at line 41 of file TBenchmark.h.

TStopwatch* TBenchmark::fTimer [protected]

Definition at line 42 of file TBenchmark.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:49 2011 for ROOT_528-00b_version by  doxygen 1.5.1