Searched refs:getNanoseconds (Results 1 – 5 of 5) sorted by relevance
56 int64_t beforeTimeNanos = getNanoseconds(); in try_opening_audio_stream()71 ASSERT_LT(getNanoseconds() - beforeTimeNanos, kNanosPerSecond) in try_opening_audio_stream()77 beforeTimeNanos = getNanoseconds(); in try_opening_audio_stream()80 ASSERT_LT(getNanoseconds() - beforeTimeNanos, kNanosPerSecond) in try_opening_audio_stream()
140 const int64_t nowNs = getNanoseconds(); in getLatency()430 int64_t beginTime = getNanoseconds(CLOCK_MONOTONIC); in TEST_P()444 beginTime = getNanoseconds(CLOCK_MONOTONIC); in TEST_P()
34 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC);
37 int64_t getNanoseconds(clockid_t clockId) { in getNanoseconds() function
37 int64_t now = getNanoseconds(); in measureLatency()