Searched refs:gBenchmarkTotalTimeNs (Results 1 – 1 of 1) sorted by relevance
27 static int64_t gBenchmarkTotalTimeNs; variable116 gBenchmarkTotalTimeNs = 0; in RunRepeatedlyWithArg()124 gBenchmarkTotalTimeNs += NanoTime() - gBenchmarkStartTimeNs; in RunRepeatedlyWithArg()132 while (gBenchmarkTotalTimeNs < 1e9 && iterations < 1e9) { in RunWithArg()134 if (gBenchmarkTotalTimeNs/iterations == 0) { in RunWithArg()137 iterations = 1e9 / (gBenchmarkTotalTimeNs/iterations); in RunWithArg()146 if (gBenchmarkTotalTimeNs > 0 && gBytesProcessed > 0) { in RunWithArg()148 double seconds = static_cast<double>(gBenchmarkTotalTimeNs)/1e9; in RunWithArg()166 static_cast<int64_t>(iterations), gBenchmarkTotalTimeNs/iterations, throughput); in RunWithArg()178 gBenchmarkTotalTimeNs += NanoTime() - gBenchmarkStartTimeNs; in StopBenchmarkTiming()