42 #if defined(CLOCK_MONOTONIC) 45 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
65 #if defined(CLOCK_MONOTONIC) 69 clock_gettime(CLOCK_MONOTONIC, &ts);
70 return (uint64_t) ts.tv_sec * (uint64_t) 1000000000 + (uint64_t) ts.tv_nsec;
76 gettimeofday(&tv, NULL);
77 return (uint64_t) tv.tv_sec * (uint64_t) 1000000 + (uint64_t) tv.tv_usec;
uint64_t _glfwPlatformGetTimerFrequency(void)
void _glfwInitTimerPOSIX(void)
uint64_t _glfwPlatformGetTimerValue(void)
struct _GLFWlibrary::@7 timer