SystemClock
@interface SystemClock : ClockBase
A root clock class that is based on MonotonicTime
as the underlying time source
-
Default-value init method disallowed. Use initWithTickRate() method instead.
Declaration
Objective-C
- (instancetype)init;
-
Initialise SystemClock instance with a tick rate
Declaration
Objective-C
- (id)initWithTickRate:(uint64_t)tickrate;
Swift
init!(tickRate tickrate: UInt64)
Parameters
tickrate
clock frequency in ticks per second
Return Value
SystemClock instance