mach_continuous_time
Returns current value of a clock that increments monotonically in tick units (starting at an arbitrary point), including while the system is asleep.
Declaration
uint64_t mach_continuous_time();Return Value
Value of mach continous time clock.
Discussion
Prefer to use the equivalent clock_gettime_nsec_np(CLOCK_MONOTONIC_RAW) in nanoseconds.