Function

CMClockGetHostTimeClock

Returns a reference to the singleton clock logically identified with host time.

Declaration

CMClockRef CMClockGetHostTimeClock(void);

Discussion

In macOS, the host time clock uses mach_absolute_time but returns a value with a large integer timescale (e.g. nanoseconds).