Searched refs:clock (Results 1 - 3 of 3) sorted by relevance

/art/runtime/base/
H A Dtime_utils.h62 // Returns the thread-specific CPU-time clock in nanoseconds or -1 if unavailable.
76 // No clocks to specify on OS/X, fake value to pass to routines that require a clock.
84 // time corresponding to the indicated clock value plus the supplied offset.
85 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
H A Dtime_utils.cc177 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { argument
180 clock_gettime(clock, ts);
182 UNUSED(clock);
H A Dmutex.cc917 int clock = CLOCK_MONOTONIC; local
919 int clock = CLOCK_REALTIME; local
925 InitTimeSpec(true, clock, ms, ns, &ts);

Completed in 166 milliseconds