diff options
Diffstat (limited to 'timing.h')
-rw-r--r-- | timing.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -41,10 +41,12 @@ class timing_t #ifdef DEBUG_ENABLED #define TIMER_DEF(sym, cat) static timing_t sym(#sym, cat) +#define TIMER_DEF_(sym) static timing_t sym(#sym, #sym) #define TIMER_START(sym) sym.start(__FILE__, __LINE__) #define TIMER_STOP(sym) sym.stop() #else #define TIMER_DEF(sym, cat) +#define TIMER_DEF_(sym) #define TIMER_START(sym) #define TIMER_STOP(sym) #endif |