Browse Source

Remove some asserts in timings.c

Ginger Bill 8 years ago
parent
commit
78494e84d5
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/timings.c

+ 0 - 6
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;