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* szName, int iId, int iAvgMax); ~Benchmark(); void Disable(); long long ticks; bool disabled = false; int id; int avgmax; const char* name; }; const char* SzFromUmsg(unsigned uMsg); #endif