Searched refs:NanoTime (Results 1 – 2 of 2) sorted by relevance
52 static uint64_t NanoTime() { in NanoTime() function111 uint64_t StartTimeNs = NanoTime(); in RunRepeatedly()117 gBenchmarkTotalTimeNs = NanoTime() - StartTimeNs; in RunRepeatedly()124 uint64_t s = NanoTime(); in Run()126 s = NanoTime() - s; in Run()136 s = NanoTime(); in Run()138 s = NanoTime() - s; in Run()187 int64_t diff = NanoTime() - gBenchmarkStartTimeNs; in StopBenchmarkTiming()197 gBenchmarkStartTimeNs = NanoTime(); in StartBenchmarkTiming()201 void StopBenchmarkTiming(uint64_t NanoTime) { in StopBenchmarkTiming() argument[all …]
88 uint64_t NanoTime() { in NanoTime() function107 uint64_t start = NanoTime(); in WaitForStop()111 if ((NanoTime() - start) > NS_PER_SEC) { in WaitForStop()211 uint64_t start = NanoTime(); in WaitForNonZero()216 } while ((NanoTime() - start) < seconds * NS_PER_SEC); in WaitForNonZero()308 uint64_t start = NanoTime(); in VerifyProcTest()335 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC); in VerifyProcTest()447 uint64_t start = NanoTime(); in TEST()453 ((NanoTime() - start) <= 5 * NS_PER_SEC)); in TEST()1082 uint64_t start = NanoTime(); in TEST()[all …]