1 #ifndef AliL3_Benchmark
2 #define AliL3_Benchmark
9 #include "AliL3RootTypes.h"
10 #include "AliL3Stopwatch.h"
13 class AliL3Benchmark {
17 Int_t fNbench; //Number of active benchmarks
18 Int_t fNmax; //Maximum number of benchmarks initialized
20 TString *fNames; //Names of benchmarks
21 TStopwatch *fTimer; //Timers
24 AliL3Stopwatch *fTimer;
30 //TStopwatch *fStopwatch; //Stopwatch
34 virtual ~AliL3Benchmark();
35 Int_t GetBench(const char *name);
36 void Start(const char *name);
37 void Stop(const char *name);
38 void Analyze(const char* name);
40 static Double_t GetCpuTime();
42 ClassDef(AliL3Benchmark,0) //L3 benchmark