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

/system/core/liblog/tests/
H A Dbenchmark_main.cpp30 static uint64_t gBenchmarkTotalTimeNs; variable
114 if ((gBenchmarkTotalTimeNs == 0) && (StartTimeNs != 0) &&
116 gBenchmarkTotalTimeNs = NanoTime() - StartTimeNs;
126 while (s < 2e9 && gBenchmarkTotalTimeNs < 1e9 && iterations < 1e9) {
128 if (gBenchmarkTotalTimeNs / iterations == 0) {
131 iterations = 1e9 / (gBenchmarkTotalTimeNs / iterations);
143 if (gBenchmarkTotalTimeNs > 0 && gBytesProcessed > 0) {
145 double seconds = static_cast<double>(gBenchmarkTotalTimeNs) / 1e9;
154 uint64_t mean = gBenchmarkTotalTimeNs / iterations;
157 mean = gBenchmarkTotalTimeNs / gBenchmarkNu
[all...]

Completed in 44 milliseconds