- Replace gettimeofday() with clock_gettime(). We're not falling back to gettimeofday() for old/weird systems that don't have clock_gettime()