CMClock
A reference clock you use to synchronize applications and devices.
Overview
The CMSync API provides a reference clock that you use to synchronize applications and devices. This API also provides functions to monitor relative drift between CMClocks and functions that are associated with timer services.
Topics
Accessing the Host Clock
Stopping the Clock
Accessing and Converting Time
CMClockGetTime(_:)CMClockGetAnchorTime(_:clockTimeOut:referenceClockTimeOut:)CMClockConvertHostTimeToSystemUnits(_:)CMClockMakeHostTimeFromSystemUnits(_:)
Getting and Syncing Time
CMSyncGetTime(_:)CMSyncGetRelativeRate(_:relativeTo:)CMSyncGetRelativeRateAndAnchorTime(_:relativeTo:relativeRateOut:anchorTimeOut:relativeToAnchorTimeOut:)CMSyncConvertTime(_:from:to:)