1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef DEBUG_H #define DEBUG_H struct Benchmark { Benchmark(const char* name, int id, int avgmax); ~Benchmark(); void Disable(); long long ticks; bool disabled = false; int id; int avgmax; const char* name; }; const char* MsgName(unsigned uMsg); #endif