13 #ifndef ROOT_TBenchmark
14 #define ROOT_TBenchmark
29 #ifndef ROOT_TStopwatch
TBenchmark & operator=(const TBenchmark &)
Assignment operator.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
virtual void Stop(const char *name)
Terminates Benchmark with specified name.
Int_t GetBench(const char *name) const
Returns index of Benchmark name.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
Float_t GetCpuTime(const char *name)
Returns Cpu time used by Benchmark name.
Float_t GetRealTime(const char *name)
Returns Realtime used by Benchmark name.
virtual ~TBenchmark()
Benchmark destructor.
virtual void Print(Option_t *name="") const
Prints parameters of Benchmark name.
R__EXTERN TBenchmark * gBenchmark
This class is a ROOT utility to help benchmarking applications.
virtual void Summary(Float_t &rt, Float_t &cp)
Prints a summary of all benchmarks.
virtual void Reset()
Reset all Benchmarks.