8 #ifndef FXPERFORMANCE_H 9 #define FXPERFORMANCE_H 17 const FXchar *
const name;
18 volatile FXlong minticks;
19 volatile FXlong maxticks;
20 volatile FXlong totticks;
21 volatile FXlong counter;
24 void tally(FXlong ticks);
30 template<FXCounter& counter>
33 volatile FXlong ticks;
42 #if defined(PERFORMANCE_LOGGING) 43 #define PERFORMANCE_RECORDER(counter) FXCounter perf##counter(#counter) 44 #define PERFORMANCE_COUNTER(counter) FXPerformanceCounter< perf##counter > measure##counter 46 #define PERFORMANCE_RECORDER(counter) 47 #define PERFORMANCE_COUNTER(counter) Definition: FX4Splitter.h:28
Definition: FXPerformance.h:15
static FXTime ticks()
Return time in processor ticks.