1 #ifndef AliL3_Benchmark
2 #define AliL3_Benchmark
10 #include "AliL3RootTypes.h"
11 #include "AliL3Stopwatch.h"
14 class AliL3Benchmark {
18 Int_t fNbench; //Number of active benchmarks
19 Int_t fNmax; //Maximum number of benchmarks initialized
21 TString *fNames; //Names of benchmarks
22 TStopwatch *fTimer; //Timers
25 AliL3Stopwatch *fTimer;
31 //TStopwatch *fStopwatch; //Stopwatch
35 virtual ~AliL3Benchmark();
36 Int_t GetBench(const char *name);
37 void Start(const char *name);
38 void Stop(const char *name);
39 void Analyze(const char* name);
41 static Double_t GetCpuTime();
43 ClassDef(AliL3Benchmark,0) //L3 benchmark