aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timer/src/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timer/src/timer.c b/timer/src/timer.c
index da3485b..2b34851 100644
--- a/timer/src/timer.c
+++ b/timer/src/timer.c
@@ -49,7 +49,7 @@ time_point time_now(void) {
49#ifdef _WIN32 49#ifdef _WIN32
50 QueryPerformanceCounter((LARGE_INTEGER*)&t); 50 QueryPerformanceCounter((LARGE_INTEGER*)&t);
51#else 51#else
52 clock_gettime(CLOCK_REALTIME, &t); 52 clock_gettime(CLOCK_MONOTONIC_RAW, &t);
53#endif 53#endif
54 return t; 54 return t;
55} 55}