#ifndef ROOT_TBenchmark
#define ROOT_TBenchmark
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TStopwatch
#include "TStopwatch.h"
#endif
class TBenchmark : public TNamed {
protected:
Int_t fNbench;
Int_t fNmax;
TString *fNames;
Float_t *fRealTime;
Float_t *fCpuTime;
TStopwatch *fTimer;
TBenchmark(const TBenchmark&);
TBenchmark& operator=(const TBenchmark&);
public:
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);
ClassDef(TBenchmark,0)
};
R__EXTERN TBenchmark *gBenchmark;
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.