Home
last modified time | relevance | path

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

/system/core/liblog/tests/
Dbenchmark_main.cpp108 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 …]
Dbenchmark.h49 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/
Dsystemapps.sh25 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 …]
Dfeedly-chrome.sh58 while [ $cur -le $iterations ]
61 echo Iteration $cur of $iterations
108 ((feedlyAve=feedlyStartTimes/iterations))
Drecentfling.sh10 iterations=10
96 while [ $cur -le $iterations ]
Ddefs.sh52 (-i) iterations=$2; shift;;
106 iterations=${iterations:=5}
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp64 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/
Dsync_test.cpp442 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/
Dlatencytop.c71 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/
Dreactor.c58 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/
Dcpustats.c53 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/
Dprofile_sdcard.sh40 …adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50…
DREADME37 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 -…
Dplot_sdcard.py93 self.iterations = 0
106 self.iterations = int(re.search('# Iterations: ([0-9]+)', line).group(1))
210 dataset.RescaleTo(metadata.iterations)
/system/core/toolbox/
Dtop.c89 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/
Dperfprofdcore.cc912 unsigned iterations = 0; in perfprofd_main() local
915 iterations < config.getUnsignedValue("main_loop_iterations")) { in perfprofd_main()
949 iterations += 1; in perfprofd_main()