From 78494e84d59a0b949c6c02d231bca8ba2fcfb1f5 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Mon, 29 May 2017 19:41:13 +0100 Subject: [PATCH] Remove some asserts in timings.c --- src/timings.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/timings.c b/src/timings.c index 58ed89adc..046f476fe 100644 --- a/src/timings.c +++ b/src/timings.c @@ -45,13 +45,7 @@ u64 unix_time_stamp__freq(void) { if (freq == 0) { struct timespec ts; clock_getres(CLOCK_PROCESS_CPUTIME_ID, &ts); - - // that would be an absurd resolution (or lack thereof) - GB_ASSERT(ts.tv_sec == 0); - freq = cast(u64) ((1.0 / ts.tv_nsec) * 1000000000.0); - - GB_ASSERT(freq != 0); } return freq;