Searched refs:iterations (Results 1 - 15 of 15) sorted by relevance

/system/core/liblog/tests/
H A Dbenchmark_main.cpp108 void RunRepeatedly(Benchmark* b, int iterations) { argument
112 b->RunFn(iterations);
123 unsigned iterations = 1; local
125 RunRepeatedly(b, iterations);
127 while (s < 2e9 && gBenchmarkTotalTimeNs < 1e9 && iterations < 1e9) {
128 unsigned last = iterations;
129 if (gBenchmarkTotalTimeNs/iterations == 0) {
130 iterations = 1e9;
132 iterations = 1e9 / (gBenchmarkTotalTimeNs/iterations);
[all...]
H A Dbenchmark.h49 virtual void RunFn(int iterations) { fn_(iterations); } argument
90 virtual void RunFn(int iterations) { BenchmarkWantsArg<T>::fn_arg_(iterations, arg_); } argument
/system/extras/tests/workloads/
H A Dsystemapps.sh11 # Example 1: start all default apps. 2 iterations
25 iterations=1
51 echo "-i iterations"
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
[all...]
H A Dfeedly-chrome.sh58 while [ $cur -le $iterations ]
61 echo Iteration $cur of $iterations
108 ((feedlyAve=feedlyStartTimes/iterations))
H A Drecentfling.sh10 iterations=10
29 echo "-i iterations"
96 while [ $cur -le $iterations ]
145 ((aveJanks=jankSum/iterations))
146 ((aveFrames=frameSum/iterations))
147 ((aveLatency90=latency90Sum/iterations))
148 ((aveLatency95=latency95Sum/iterations))
149 ((aveLatency99=latency99Sum/iterations))
H A Ddefs.sh34 echo "-i iterations"
52 (-i) iterations=$2; shift;;
106 iterations=${iterations:=5}
/system/extras/tests/sdcard/
H A Dprofile_sdcard.sh40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
H A Dplot_sdcard.py93 self.iterations = 0
106 self.iterations = int(re.search('# Iterations: ([0-9]+)', line).group(1))
190 readers will go thru 100 iterations much faster than the
192 iterations of the writers will likely be done w/o any influence from
203 gp.xlabel('iterations')
210 dataset.RescaleTo(metadata.iterations)
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp64 unsigned int iterations; member in struct:options
140 case 'n': // iterations
141 options.iterations = strtoul(optarg, &chptr, 10);
143 cerr << "Invalid iterations specified of: " << optarg << endl;
146 if (options.iterations < 1) {
167 cerr << " -n num - iterations" << endl;
188 cout << "iterations: " << options.iterations << endl;
259 for (unsigned int iter = 0; iter < options.iterations; iter++) {
302 << " avg: " << (total / options.iterations)
[all...]
/system/bt/osi/src/
H A Dreactor.c58 static reactor_status_t run_reactor(reactor_t *reactor, int iterations);
227 // Runs the reactor loop for a maximum of |iterations|.
228 // 0 |iterations| means loop forever.
230 static reactor_status_t run_reactor(reactor_t *reactor, int iterations) { argument
237 for (int i = 0; iterations == 0 || i < iterations; ++i) {
/system/extras/latencytop/
H A Dlatencytop.c71 int delay, iterations; local
77 iterations = 0;
94 iterations = atoi(argv[++i]);
141 while ((iterations == 0) || (count++ < iterations)) {
421 fprintf(stderr, "Usage: %s [ -d delay ] [ -n iterations ] [ -p pid [ -t tid ] ] [ -h ]\n"
423 " -n iterations Number of updates to show (0 = infinite).\n"
/system/core/libsync/tests/
H A Dsync_test.cpp442 const int iterations = 1 << 16; local
450 for (int i = 0; i < iterations; i++) {
472 ASSERT_EQ(counter, iterations * 2);
480 int iterations = 1 << 12; local
488 for (int i = 0; i < iterations; i++) {
494 if ((iterations + threadId) % 8 != 0) {
517 for (int i = 1; i <= iterations; i++) {
528 if (iterations % 8 != 0) {
/system/extras/cpustats/
H A Dcpustats.c53 static int cpu_count, delay, iterations; variable
75 iterations = -1;
86 iterations = atoi(argv[++i]);
137 while ((iterations == -1) || (iterations-- > 0)) {
424 fprintf(stderr, "Usage %s [ -n iterations ] [ -d delay ] [ -c cpu ] [ -m ] [ -h ]\n"
/system/core/toolbox/
H A Dtop.c89 static int max_procs, delay, iterations, threads; variable
117 iterations = -1;
135 iterations = atoi(argv[++i]);
182 while ((iterations == -1) || (iterations-- > 0)) {
564 fprintf(stderr, "Usage: %s [ -m max_procs ] [ -n iterations ] [ -d delay ] [ -s sort_column ] [ -t ] [ -h ]\n"
/system/extras/perfprofd/
H A Dperfprofdcore.cc912 unsigned iterations = 0;
915 iterations < config.getUnsignedValue("main_loop_iterations")) {
949 iterations += 1;

Completed in 1128 milliseconds