Home
last modified time | relevance | path

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

/system/core/liblog/tests/
Dbenchmark_main.cpp33 static uint64_t gBenchmarkStartTimeNs; variable
115 (gBenchmarkStartTimeNs == 0)) { in RunRepeatedly()
179 gBenchmarkStartTimeNs = 0; in ResetBenchmarkTiming()
186 if (gBenchmarkStartTimeNs != 0) { in StopBenchmarkTiming()
187 int64_t diff = NanoTime() - gBenchmarkStartTimeNs; in StopBenchmarkTiming()
192 gBenchmarkStartTimeNs = 0; in StopBenchmarkTiming()
196 if (gBenchmarkStartTimeNs == 0) { in StartBenchmarkTiming()
197 gBenchmarkStartTimeNs = NanoTime(); in StartBenchmarkTiming()
202 if (gBenchmarkStartTimeNs != 0) { in StopBenchmarkTiming()
203 int64_t diff = NanoTime - gBenchmarkStartTimeNs; in StopBenchmarkTiming()
[all …]