Home
last modified time | relevance | path

Searched refs:g_benchmark_total_time_ns (Results 1 – 1 of 1) sorted by relevance

/external/eigen/bench/tensors/
Dbenchmark_main.cc27 static int64_t g_benchmark_total_time_ns; variable
143 g_benchmark_total_time_ns = 0; in RunRepeatedlyWithArg()
151 g_benchmark_total_time_ns += NanoTime() - g_benchmark_start_time_ns; in RunRepeatedlyWithArg()
158 while (g_benchmark_total_time_ns < 1e9 && iterations < 1e9) { in RunWithArg()
160 if (g_benchmark_total_time_ns/iterations == 0) { in RunWithArg()
163 iterations = 1e9 / (g_benchmark_total_time_ns/iterations); in RunWithArg()
171 if (g_benchmark_total_time_ns > 0 && g_flops_processed > 0) { in RunWithArg()
173 double seconds = static_cast<double>(g_benchmark_total_time_ns)/1e9; in RunWithArg()
189 iterations, g_benchmark_total_time_ns/iterations, throughput); in RunWithArg()
198 g_benchmark_total_time_ns += NanoTime() - g_benchmark_start_time_ns; in StopBenchmarkTiming()