mach_continuous_time
Returns current value of a clock that increments monotonically in tick units (starting at an arbitrary point), including while the system is asleep.
Declaration
uint64_t mach_continuous_time(void);Return Value
Value of mach continous time clock.
Discussion
Prefer to use the equivalent clock_gettime_nsec_np(CLOCK_MONOTONIC_RAW) in nanoseconds.
See Also
Time
mach_absolute_timemach_approximate_timemach_continuous_approximate_timemach_bridge_remote_timemach_bridge_compute_timestampmach_bridge_register_regwrite_timestamp_callbackmach_timebase_info_tmach_zone_info_array_tmach_zone_name_array_tmach_timebase_info_data_tmach_timespec_tmach_zone_info_tclock_attr_tclock_ctrl_port_tclock_ctrl_tclock_flavor_tclock_id_tclock_nsec_tclock_reply_subsystemclock_reply_tclock_res_tclock_sec_tclock_serv_port_tclock_serv_tclock_tclock_usec_tclockinfo