21 #ifndef FXPERFORMANCE_H 22 #define FXPERFORMANCE_H 30 const FXchar *
const name;
31 volatile FXlong minticks;
32 volatile FXlong maxticks;
33 volatile FXlong totticks;
34 volatile FXlong counter;
37 void tally(FXlong ticks);
43 template<FXCounter& counter>
46 volatile FXlong ticks;
55 #if defined(PERFORMANCE_LOGGING) 56 #define PERFORMANCE_RECORDER(counter) FXCounter perf##counter(#counter) 57 #define PERFORMANCE_COUNTER(counter) FXPerformanceCounter< perf##counter > measure##counter 59 #define PERFORMANCE_RECORDER(counter) 60 #define PERFORMANCE_COUNTER(counter) Definition: FX4Splitter.h:28
Definition: FXPerformance.h:28
static FXTime ticks()
Return time in processor ticks.