| 77 | extern void InitializeTimebaseInfo(); |
| 78 | |
| 79 | inline void GetCurrentTime(mach_timespec_t* ts) { |
| 80 | clock_serv_t cclock; |
| 81 | host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock); |
| 82 | clock_get_time(cclock, ts); |
| 83 | mach_port_deallocate(mach_task_self(), cclock); |
| 84 | } |
| 85 | |
| 86 | inline MicrosecondsInt64 GetCurrentTimeMicros() { |
| 87 | mach_timespec_t ts; |
no outgoing calls
no test coverage detected