1 #ifndef MiscLib__PERFORMANCE_HEADER__
2 #define MiscLib__PERFORMANCE_HEADER__
16 QueryPerformanceCounter(&count);
17 return count.QuadPart;
21 LARGE_INTEGER dummy_performance_freq;
22 QueryPerformanceFrequency(&dummy_performance_freq);
23 performance_t performance_freq = dummy_performance_freq.QuadPart;
24 return double(performance_freq);
34 return double(CLOCKS_PER_SEC);