23 #include "runtime.hpp"
27 #define WIN32_LEAN_AND_MEAN
39 static bool init(
false);
40 static LARGE_INTEGER freq;
43 QueryPerformanceFrequency(&freq);
48 QueryPerformanceCounter(&count);
50 return static_cast<double>(count.QuadPart) / freq.QuadPart;
56 return static_cast<uint
>(timer());
66 return static_cast<double>(tv.tv_sec)
67 + static_cast<double>(tv.tv_usec) / 1000000;