]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/src/AliL3Benchmark.h
Changes done to include new ALiL3HoughTransformerVhdl.
[u/mrichter/AliRoot.git] / HLT / src / AliL3Benchmark.h
CommitLineData
108615fc 1#ifndef AliL3_Benchmark
2#define AliL3_Benchmark
3
4#include <Rtypes.h>
5
6class TStopwatch;
7class TString;
8class AliL3Benchmark {
9
10private:
11
12 Int_t fNbench; //Number of active benchmarks
13 Int_t fNmax; //Maximum number of benchmarks initialized
14 TString *fNames; //Names of benchmarks
15 TStopwatch *fTimer; //Timers
16 Float_t *fSum;
17 Float_t *fMin;
18 Float_t *fMax;
19 Int_t *fCount;
20
21// TStopwatch *fStopwatch; //Stopwatch
22public:
23 AliL3Benchmark();
24 virtual ~AliL3Benchmark();
25 Int_t GetBench(const char *name);
26 void Start(const char *name);
27 void Stop(const char *name);
28 void Analyze(const char* name);
0c547964 29
30 static Double_t GetCpuTime();
31
108615fc 32 ClassDef(AliL3Benchmark,0) //L3 benchmark
33};
34
35#endif