diff options
Diffstat (limited to 'Spear/Sys/Timer/timer.c')
-rw-r--r-- | Spear/Sys/Timer/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Spear/Sys/Timer/timer.c b/Spear/Sys/Timer/timer.c index 8487f48..707cd63 100644 --- a/Spear/Sys/Timer/timer.c +++ b/Spear/Sys/Timer/timer.c | |||
@@ -48,7 +48,7 @@ void time_now(time_point* t) { | |||
48 | #ifdef _WIN32 | 48 | #ifdef _WIN32 |
49 | QueryPerformanceCounter((LARGE_INTEGER*)t); | 49 | QueryPerformanceCounter((LARGE_INTEGER*)t); |
50 | #else | 50 | #else |
51 | clock_gettime(CLOCK_REALTIME, t); | 51 | clock_gettime(CLOCK_MONOTONIC_RAW, t); |
52 | #endif | 52 | #endif |
53 | } | 53 | } |
54 | 54 | ||