Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dbenchmark_main.cpp117 void Benchmark::RunRepeatedlyWithArg(int iterations, int arg) { in RunRepeatedlyWithArg() argument
122 fn_(iterations); in RunRepeatedlyWithArg()
124 fn_range_(iterations, arg); in RunRepeatedlyWithArg()
133 int iterations = 1; in RunWithArg() local
134 RunRepeatedlyWithArg(iterations, arg); in RunWithArg()
135 while (g_benchmark_total_time_ns < 1e9 && iterations < 1e9) { in RunWithArg()
136 int last = iterations; in RunWithArg()
137 if (g_benchmark_total_time_ns/iterations == 0) { in RunWithArg()
138 iterations = 1e9; in RunWithArg()
140 iterations = 1e9 / (g_benchmark_total_time_ns/iterations); in RunWithArg()
[all …]
Dbenchmark.h49 void RunRepeatedlyWithArg(int iterations, int arg);