Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/tsan/
Dtest.h46 static mach_timebase_info_data_t timebase_info; in monotonic_clock_ns() local
47 if (timebase_info.denom == 0) mach_timebase_info(&timebase_info); in monotonic_clock_ns()
48 return (mach_absolute_time() * timebase_info.numer) / timebase_info.denom; in monotonic_clock_ns()
/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/perfetto/include/perfetto/base/
Dtime.h66 mach_timebase_info_data_t timebase_info; in GetWallTimeNs() local
67 mach_timebase_info(&timebase_info); in GetWallTimeNs()
68 return timebase_info.numer / timebase_info.denom; in GetWallTimeNs()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mac.cpp527 static mach_timebase_info_data_t timebase_info; in MonotonicNanoTime() local
528 if (timebase_info.denom == 0) mach_timebase_info(&timebase_info); in MonotonicNanoTime()
529 return (mach_absolute_time() * timebase_info.numer) / timebase_info.denom; in MonotonicNanoTime()