Function

CMClockGetAnchorTime

Retrieves the current time from a clock and also the matching time from the clock's reference clock.

Declaration

OSStatus CMClockGetAnchorTime(CMClockRef clock, CMTime *clockTimeOut, CMTime *referenceClockTimeOut);

Discussion

To make practical use of this, you may need to know what the clock's reference clock is.

See Also

Accessing and Converting Time

CMClockGetTime

Retrieves the current time from a clock.

CMClockConvertHostTimeToSystemUnits

Converts a host time from CMTime to the host time's native units.

CMClockMakeHostTimeFromSystemUnits

Converts a host time from native units to CMTime.