Home
last modified time | relevance | path

Searched refs:timebase_info (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/test/tsan/
Dtest.h59 static mach_timebase_info_data_t timebase_info; in monotonic_clock_ns() local
60 if (timebase_info.denom == 0) mach_timebase_info(&timebase_info); in monotonic_clock_ns()
61 return (mach_absolute_time() * timebase_info.numer) / timebase_info.denom; in monotonic_clock_ns()
/external/libchrome/base/time/
Dtime_mac.cc44 static mach_timebase_info_data_t timebase_info; in ComputeCurrentTicks()
45 if (timebase_info.denom == 0) { in ComputeCurrentTicks()
51 kern_return_t kr = mach_timebase_info(&timebase_info); in ComputeCurrentTicks()
63 result *= timebase_info.numer; in ComputeCurrentTicks()
64 result /= timebase_info.denom; in ComputeCurrentTicks()
/external/google-benchmark/src/
Dsysinfo.cc265 mach_timebase_info_data_t timebase_info; in InitializeSystemInfo()
266 mach_timebase_info(&timebase_info); in InitializeSystemInfo()
268 static_cast<double>(timebase_info.denom) / in InitializeSystemInfo()
269 static_cast<double>(timebase_info.numer); in InitializeSystemInfo()