diff options
| -rw-r--r-- | src/timer/sapp_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer/sapp_timer.c b/src/timer/sapp_timer.c index 57c3f9e..1f2b462 100644 --- a/src/timer/sapp_timer.c +++ b/src/timer/sapp_timer.c @@ -389,7 +389,7 @@ static inline long long sapp_get_current_time_in_ms(void) //gettimeofday(&t, NULL); //tms = t.tv_sec * 1000 + t.tv_usec/1000; struct timespec t; - clock_gettime(CLOCK_MONOTONIC, &t); + clock_gettime(CLOCK_REALTIME, &t); tms = (t.tv_sec)*1000 + (t.tv_nsec)/(1000*1000); return tms; |
