Lines Matching refs:NanoTime
117 static uint64_t NanoTime() { in NanoTime() function
136 uint64_t start = NanoTime(); in WaitForStop()
140 if ((NanoTime() - start) > NS_PER_SEC) { in WaitForStop()
263 uint64_t start = NanoTime(); in WaitForNonZero()
268 } while ((NanoTime() - start) < seconds * NS_PER_SEC); in WaitForNonZero()
396 uint64_t start = NanoTime(); in VerifyProcTest()
420 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC); in VerifyProcTest()
522 uint64_t start = NanoTime(); in TEST_F()
528 ((NanoTime() - start) <= 5 * NS_PER_SEC)); in TEST_F()
1153 uint64_t start = NanoTime(); in TEST_F()
1178 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST_F()
1310 uint64_t start = NanoTime(); in TEST_F()
1347 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST_F()
1460 uint64_t start = NanoTime(); in TEST_F()
1483 if ((NanoTime() - start) > 5 * NS_PER_SEC) { in TEST_F()
1740 uint64_t start = NanoTime(); in UnwindThroughSignal()
1758 ASSERT_TRUE(NanoTime() - start < 5 * NS_PER_SEC) in UnwindThroughSignal()
1767 start = NanoTime(); in UnwindThroughSignal()
1795 ASSERT_TRUE(NanoTime() - start < 5 * NS_PER_SEC) in UnwindThroughSignal()