00001
00004 #ifndef StiTimer_H
00005 #define StiTimer_H 1
00006 #include "TStopwatch.h"
00007 class TList;
00008
00009
00014 class StiTimer
00015 {
00016 public:
00017 static void Init (const char *name,TStopwatch *&sw,int &tally);
00018 static void Print(const char *option="");
00019 static void Clear(const char *option="");
00020
00021 private:
00022 static TList *fgList;
00023
00024 public:
00025 static TStopwatch *fgFindTimer;
00026 static int fgFindTally;
00027 };
00028
00029
00030
00031
00032 #endif
00033