Searched refs:NanoTime (Results 1 – 3 of 3) sorted by relevance
52 static uint64_t NanoTime() { in NanoTime() function111 uint64_t StartTimeNs = NanoTime(); in RunRepeatedly()116 gBenchmarkTotalTimeNs = NanoTime() - StartTimeNs; in RunRepeatedly()123 uint64_t s = NanoTime(); in Run()125 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 …]
38 static uint64_t NanoTime() { in NanoTime() function in MemoryRemoteTest49 uint64_t start = NanoTime(); in Attach()52 if ((NanoTime() - start) > 10 * NS_PER_SEC) { in Attach()
85 static uint64_t NanoTime() { in NanoTime() function104 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()[all …]