Contents

mach_absolute_time

Returns current value of a clock that increments monotonically in tick units (starting at an arbitrary point), this clock does not increment while the system is asleep.

Declaration

uint64_t mach_absolute_time();

Return Value

Value of mach absolute time clock.

Discussion

Prefer to use the equivalent clock_gettime_nsec_np(CLOCK_UPTIME_RAW) in nanoseconds.

See Also

Mach Timebase