Home
last modified time | relevance | path

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

/bionic/tests/
Dbenchmark_main.cpp114 void Benchmark::RunRepeatedlyWithArg(int iterations, int arg) { in RunRepeatedlyWithArg() argument
119 fn_(iterations); in RunRepeatedlyWithArg()
121 fn_range_(iterations, arg); in RunRepeatedlyWithArg()
130 int iterations = 1; in RunWithArg() local
131 RunRepeatedlyWithArg(iterations, arg); in RunWithArg()
132 while (gBenchmarkTotalTimeNs < 1e9 && iterations < 1e9) { in RunWithArg()
133 int last = iterations; in RunWithArg()
134 if (gBenchmarkTotalTimeNs/iterations == 0) { in RunWithArg()
135 iterations = 1e9; in RunWithArg()
137 iterations = 1e9 / (gBenchmarkTotalTimeNs/iterations); in RunWithArg()
[all …]
Dbenchmark.h49 void RunRepeatedlyWithArg(int iterations, int arg);