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

/bionic/benchmarks/
H A Dbenchmark_main.cpp29 static int64_t g_benchmark_total_time_ns; variable
119 g_benchmark_total_time_ns = 0;
127 g_benchmark_total_time_ns += NanoTime() - g_benchmark_start_time_ns;
135 while (g_benchmark_total_time_ns < 1e9 && iterations < 1e9) {
137 if (g_benchmark_total_time_ns/iterations == 0) {
140 iterations = 1e9 / (g_benchmark_total_time_ns/iterations);
149 if (g_benchmark_total_time_ns > 0 && g_bytes_processed > 0) {
151 double seconds = static_cast<double>(g_benchmark_total_time_ns)/1e9;
169 iterations, g_benchmark_total_time_ns/iterations, throughput);
181 g_benchmark_total_time_ns
[all...]

Completed in 283 milliseconds