36 #define register_timer(t) do {} while(0)
37 #define regstart_timer(t) do {} while(0)
38 #define start_timer() do {} while(0)
39 #define stop_timer() do {} while(0)
43 #define register_timer(t) router->timers.Register(t)
44 #define regstart_timer(t) router->timers.Register(t, timerStart)
45 #define start_timer() router->timers.Start()
46 #define stop_timer() router->timers.Stop()
50 typedef unsigned long long int bigclock_t;
68 static const bool timerStart =
true;
69 static const bool timerDelay =
false;
76 void Register(
const TimerIndex t,
const bool start = timerDelay);
80 void Print(TimerIndex, FILE *fp);
81 void PrintAll(FILE *fp);
84 clock_t cStart[tmCount];
85 bigclock_t cTotal[tmCount];
86 bigclock_t cPath[tmCount];
88 int cPathTally[tmCount];
89 clock_t cMax[tmCount];
90 clock_t cPathMax[tmCount];
94 TimerIndex type, lasttype;