Closed cyberjunk closed 1 year ago
Use clock_gettime_nsec_np(CLOCK_UPTIME_RAW) instead of mach_absolute_time() to get a reliable nanosecond tick also on Apple Silicon
clock_gettime_nsec_np(CLOCK_UPTIME_RAW)
mach_absolute_time()
Use
clock_gettime_nsec_np(CLOCK_UPTIME_RAW)
instead ofmach_absolute_time()
to get a reliable nanosecond tick also on Apple Silicon