Searched refs:iterations (Results 1 – 11 of 11) sorted by relevance
/system/core/liblog/tests/ |
D | benchmark_main.cpp | 107 void RunRepeatedly(Benchmark* b, int iterations) { in RunRepeatedly() argument 111 b->RunFn(iterations); in RunRepeatedly() 122 unsigned iterations = 1; in Run() local 124 RunRepeatedly(b, iterations); in Run() 126 while (s < 2e9 && gBenchmarkTotalTimeNs < 1e9 && iterations < 1e9) { in Run() 127 unsigned last = iterations; in Run() 128 if (gBenchmarkTotalTimeNs/iterations == 0) { in Run() 129 iterations = 1e9; in Run() 131 iterations = 1e9 / (gBenchmarkTotalTimeNs/iterations); in Run() 133 iterations = std::max(last + 1, std::min(iterations + iterations/2, 100*last)); in Run() [all …]
|
D | benchmark.h | 49 virtual void RunFn(int iterations) { fn_(iterations); } in RunFn() argument 90 virtual void RunFn(int iterations) { BenchmarkWantsArg<T>::fn_arg_(iterations, arg_); } in RunFn() argument
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 64 unsigned int iterations; member 141 options.iterations = strtoul(optarg, &chptr, 10); in main() 146 if (options.iterations < 1) { in main() 188 cout << "iterations: " << options.iterations << endl; in main() 259 for (unsigned int iter = 0; iter < options.iterations; iter++) { in client() 302 << " avg: " << (total / options.iterations) in client()
|
/system/core/toolbox/ |
D | vmstat.c | 74 int iterations, delay, header_interval; in vmstat_main() local 78 iterations = -1; in vmstat_main() 88 iterations = atoi(argv[++i]); in vmstat_main() 122 while ((iterations < 0) || (iterations-- > 0)) { in vmstat_main()
|
D | top.c | 88 static int max_procs, delay, iterations, threads; variable 122 iterations = -1; in top_main() 140 iterations = atoi(argv[++i]); in top_main() 187 while ((iterations == -1) || (iterations-- > 0)) { in top_main()
|
/system/core/libsync/tests/ |
D | sync_test.cpp | 442 const int iterations = 1 << 16; in TEST() local 450 for (int i = 0; i < iterations; i++) { in TEST() 472 ASSERT_EQ(counter, iterations * 2); in TEST() 480 int iterations = 1 << 12; in TEST_P() local 488 for (int i = 0; i < iterations; i++) { in TEST_P() 494 if ((iterations + threadId) % 8 != 0) { in TEST_P() 517 for (int i = 1; i <= iterations; i++) { in TEST_P() 528 if (iterations % 8 != 0) { in TEST_P()
|
/system/extras/latencytop/ |
D | latencytop.c | 70 int delay, iterations; in main() local 76 iterations = 0; in main() 93 iterations = atoi(argv[++i]); in main() 140 while ((iterations == 0) || (count++ < iterations)) { in main()
|
/system/extras/cpustats/ |
D | cpustats.c | 52 static int cpu_count, delay, iterations; variable 74 iterations = -1; in main() 85 iterations = atoi(argv[++i]); in main() 136 while ((iterations == -1) || (iterations-- > 0)) { in main()
|
/system/extras/tests/sdcard/ |
D | profile_sdcard.sh | 40 …adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50…
|
D | README | 37 adb shell sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 46 …adb shell sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 -…
|
D | plot_sdcard.py | 93 self.iterations = 0 106 self.iterations = int(re.search('# Iterations: ([0-9]+)', line).group(1)) 210 dataset.RescaleTo(metadata.iterations)
|