Lines Matching refs:NanoTime
85 static uint64_t NanoTime() { in NanoTime() function
104 uint64_t start = NanoTime(); in WaitForStop()
108 if ((NanoTime() - start) > NS_PER_SEC) { in WaitForStop()
220 uint64_t start = NanoTime(); in WaitForNonZero()
225 } while ((NanoTime() - start) < seconds * NS_PER_SEC); in WaitForNonZero()
315 uint64_t start = NanoTime(); in VerifyProcTest()
342 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC); in VerifyProcTest()
453 uint64_t start = NanoTime(); in TEST()
459 ((NanoTime() - start) <= 5 * NS_PER_SEC)); in TEST()
1070 uint64_t start = NanoTime(); in TEST()
1097 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST()
1239 uint64_t start = NanoTime(); in TEST()
1272 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST()
1366 uint64_t start = NanoTime(); in TEST()
1389 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST()
1649 uint64_t start = NanoTime(); in UnwindThroughSignal()
1666 ASSERT_TRUE(NanoTime() - start < 5 * NS_PER_SEC) in UnwindThroughSignal()
1675 start = NanoTime(); in UnwindThroughSignal()
1700 ASSERT_TRUE(NanoTime() - start < 5 * NS_PER_SEC) in UnwindThroughSignal()