#include <TBenchmark.h>
Inheritance diagram for TBenchmark:
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 &) | |
TBenchmark & | operator= (const TBenchmark &) |
TBenchmark (const TBenchmark &) | |
TBenchmark & | operator= (const TBenchmark &) |
Protected Attributes | |
Int_t | fNbench |
Int_t | fNmax |
TString * | fNames |
Float_t * | fRealTime |
Float_t * | fCpuTime |
TStopwatch * | fTimer |
TString * | fNames |
Float_t * | fRealTime |
Float_t * | fCpuTime |
TStopwatch * | fTimer |
Definition at line 33 of file TBenchmark.h.
TBenchmark::TBenchmark | ( | const TBenchmark & | ) | [protected] |
TBenchmark::TBenchmark | ( | ) |
TBenchmark::~TBenchmark | ( | ) | [virtual] |
TBenchmark::TBenchmark | ( | const TBenchmark & | ) | [protected] |
TBenchmark::TBenchmark | ( | ) |
virtual TBenchmark::~TBenchmark | ( | ) | [virtual] |
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] |
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().
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::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] |
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] |
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.