/system/core/liblog/tests/ |
D | benchmark_main.cpp | 108 void RunRepeatedly(Benchmark* b, int iterations) { in RunRepeatedly() argument 112 b->RunFn(iterations); in RunRepeatedly() 123 unsigned iterations = 1; in Run() local 125 RunRepeatedly(b, iterations); in Run() 127 while (s < 2e9 && gBenchmarkTotalTimeNs < 1e9 && iterations < 1e9) { in Run() 128 unsigned last = iterations; in Run() 129 if (gBenchmarkTotalTimeNs/iterations == 0) { in Run() 130 iterations = 1e9; in Run() 132 iterations = 1e9 / (gBenchmarkTotalTimeNs/iterations); in Run() 134 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/workloads/ |
D | systemapps.sh | 25 iterations=1 139 while [ $cur -le $iterations ] 141 if [ $iterations -gt 1 ]; then 143 echo Iteration $cur of $iterations 146 if [ $iterations -gt 1 -o $cur -eq 1 ]; then 242 if [ $iterations -gt 1 -a $totaltimetest -eq 0 ]; then 245 printf "Stats after $iterations iterations:\n" 252 ((ave=sum/iterations)) 258 ((ave90=l90/iterations)) 259 ((ave95=l95/iterations)) [all …]
|
D | feedly-chrome.sh | 58 while [ $cur -le $iterations ] 61 echo Iteration $cur of $iterations 108 ((feedlyAve=feedlyStartTimes/iterations))
|
D | recentfling.sh | 10 iterations=10 96 while [ $cur -le $iterations ]
|
D | defs.sh | 52 (-i) iterations=$2; shift;; 106 iterations=${iterations:=5}
|
/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/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 | 71 int delay, iterations; in main() local 77 iterations = 0; in main() 94 iterations = atoi(argv[++i]); in main() 141 while ((iterations == 0) || (count++ < iterations)) { in main()
|
/system/bt/osi/src/ |
D | reactor.c | 58 static reactor_status_t run_reactor(reactor_t *reactor, int iterations); 230 static reactor_status_t run_reactor(reactor_t *reactor, int iterations) { in run_reactor() argument 237 for (int i = 0; iterations == 0 || i < iterations; ++i) { in run_reactor()
|
/system/extras/cpustats/ |
D | cpustats.c | 53 static int cpu_count, delay, iterations; variable 75 iterations = -1; in main() 86 iterations = atoi(argv[++i]); in main() 137 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)
|
/system/core/toolbox/ |
D | top.c | 89 static int max_procs, delay, iterations, threads; variable 117 iterations = -1; in top_main() 135 iterations = atoi(argv[++i]); in top_main() 182 while ((iterations == -1) || (iterations-- > 0)) { in top_main()
|
/system/extras/perfprofd/ |
D | perfprofdcore.cc | 912 unsigned iterations = 0; in perfprofd_main() local 915 iterations < config.getUnsignedValue("main_loop_iterations")) { in perfprofd_main() 949 iterations += 1; in perfprofd_main()
|