35 if (
_glfw.win32_time.hasPC)
37 unsigned __int64 time;
38 QueryPerformanceCounter((LARGE_INTEGER*) &time);
54 unsigned __int64 frequency;
56 if (QueryPerformanceFrequency((LARGE_INTEGER*) &frequency))
58 _glfw.win32_time.hasPC = GL_TRUE;
59 _glfw.win32_time.resolution = 1.0 / (double) frequency;
63 _glfw.win32_time.hasPC = GL_FALSE;
64 _glfw.win32_time.resolution = 0.001;
78 _glfw.win32_time.resolution;
84 (
unsigned __int64) (time /
_glfw.win32_time.resolution);
_GLFWlibrary _glfw
All global data protected by _glfwInitialized. This should only be touched after a call to glfwInit t...
static unsigned __int64 getRawTime(void)
void _glfwInitTimer(void)