13#ifndef ROOT_TBenchmark
14#define ROOT_TBenchmark
#define ClassDefOverride(name, id)
R__EXTERN TBenchmark * gBenchmark
This class is a ROOT utility to help benchmarking applications.
void Print(Option_t *name="") const override
Prints parameters of Benchmark name.
virtual void Reset()
Reset all Benchmarks.
virtual void Summary(Float_t &rt, Float_t &cp)
Prints a summary of all benchmarks.
TBenchmark()
Benchmark default constructor.
Int_t GetBench(const char *name) const
Returns index of Benchmark name.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
TBenchmark & operator=(const TBenchmark &)
Assignment operator.
virtual void Stop(const char *name)
Terminates Benchmark with specified name.
virtual ~TBenchmark()
Benchmark destructor.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
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.
The TNamed class is the base class for all named ROOT classes.