3 #ifndef AliL3_Benchmark
4 #define AliL3_Benchmark
11 #include "AliL3RootTypes.h"
12 #include "AliL3Stopwatch.h"
15 class AliL3Benchmark {
19 Int_t fNbench; //Number of active benchmarks
20 Int_t fNmax; //Maximum number of benchmarks initialized
22 TString *fNames; //Names of benchmarks
23 TStopwatch *fTimer; //Timers
26 AliL3Stopwatch *fTimer;
32 //TStopwatch *fStopwatch; //Stopwatch
36 virtual ~AliL3Benchmark();
37 Int_t GetBench(const char *name);
38 void Start(const char *name);
39 void Stop(const char *name);
40 void Analyze(const char* name);
42 static Double_t GetCpuTime();
44 ClassDef(AliL3Benchmark,0) //L3 benchmark