Rewrite OSX timing code to use more precise mach_absolute_time.