Home
last modified time | relevance | path

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

12

/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp109 uint64_t iterations = 0; in ipv4_loopback() local
128 latencies[iterations] = stopwatch.timeTakenUs(); in ipv4_loopback()
129 state.SetIterationTime(static_cast<double>(latencies[iterations]) / 1.0e6L); in ipv4_loopback()
131 ++iterations; in ipv4_loopback()
149 if (iterations > 0) { in ipv4_loopback()
150 latencies.resize(iterations); in ipv4_loopback()
152 state.SetLabel(StringPrintf("%lld", (long long) latencies[iterations * 9 / 10])); in ipv4_loopback()
166 uint64_t iterations = 0; in ipv6_loopback() local
185 latencies[iterations] = stopwatch.timeTakenUs(); in ipv6_loopback()
186 state.SetIterationTime(static_cast<double>(latencies[iterations]) / 1.0e6L); in ipv6_loopback()
[all …]
/system/nfc/
Drun_unit_tests.sh33 iterations=1
51 iterations=$(( $1 ))
107 for i in $(seq 1 ${iterations})
113 failed_tests+=( "${name} ${failed_count}/${iterations}" )
/system/extras/tests/workloads/
Dsystemapps.sh25 iterations=1
141 while [ $cur -le $iterations ]
143 if [ $iterations -gt 1 ]; then
145 echo Iteration $cur of $iterations
149 if [ $iterations -gt 1 -o $cur -eq 1 ]; then
250 if [ $iterations -gt 1 -a $totaltimetest -eq 0 ]; then
253 printf "Stats after $iterations iterations:\n"
260 ((ave=sum/iterations))
266 ((ave90=l90/iterations))
267 ((ave95=l95/iterations))
[all …]
Dfeedly-chrome.sh58 while [ $cur -le $iterations ]
61 echo Iteration $cur of $iterations
108 ((feedlyAve=feedlyStartTimes/iterations))
Dyoutube.sh7 iterations=10
92 while [ $cur -le $iterations ]
Dchromefling.sh7 iterations=10
98 while [ $cur -le $iterations ]
Drecentfling.sh10 iterations=10
104 while [ $cur -le $iterations ]
/system/bt/test/
Drun_benchmarks.sh30 iterations=1
48 iterations=$(( $1 ))
111 for i in $(seq 1 ${iterations})
117 failed_benchmarks+=( "${name} ${failed_count}/${iterations}" )
Drun_unit_tests.sh57 iterations=1
75 iterations=$(( $1 ))
138 for i in $(seq 1 ${iterations})
144 failed_tests+=( "${name} ${failed_count}/${iterations}" )
/system/extras/pssbench/
Dmain.cpp11 int iterations = 1; variable
66 iterations = atoi(optarg); in main()
82 for (int i = 0; i < iterations; ++i) in main()
86 printf("iterations:%d pid:%d pss:%lld\n", iterations, pid, (long long)pss); in main()
/system/extras/alloc-stress/
Dmem-pressure.cpp63 int iterations = 0; in main() local
72 iterations = atoi(optarg); in main()
94 while (iterations == 0 || i < iterations) { in main()
/system/libhwbinder/vts/performance/
DLatency.cpp65 static int iterations = 100; variable
176 static void clientFx(int num, int server_count, int iterations, Pipe p) { in clientFx() argument
202 for (int i = 0; i < iterations; i++) { in clientFx()
239 static Pipe makeClientProcess(int num, int iterations, int no_pair) { in makeClientProcess() argument
248 clientFx(num, no_pair, iterations, move(get<1>(pipe_pair))); in makeClientProcess()
302 iterations = atoi(argv[i + 1]); in main()
354 cout << "\"cfg\":{\"pair\":" << (no_pair) << ",\"iterations\":" << iterations in main()
362 client_pipes.push_back(makeClientProcess(i, iterations, no_pair)); in main()
DBenchmark_throughput.cpp199 int iterations, in worker_fx() argument
231 for (int i = 0; i < iterations; i++) { in worker_fx()
273 Pipe make_worker(int num, int iterations, int service_count, bool get_stub) { in make_worker() argument
281 worker_fx(num, iterations, service_count, get_stub, in make_worker()
313 int iterations = 10000; in main() local
333 iterations = atoi(argv[i + 1]); in main()
362 worker_pipes.push_back(make_worker(i, iterations, services, get_stub)); in main()
376 double iterations_per_sec = double(iterations * workers) in main()
/system/extras/mmap-perf/
DmmapPerf.cpp120 state.SetBytesProcessed(state.iterations() * pageSize); in benchRandomRead()
130 state.SetBytesProcessed(state.iterations() * pageSize); in benchRandomWrite()
141 state.SetBytesProcessed(state.iterations() * pageSize); in benchLinearRead()
152 state.SetBytesProcessed(state.iterations() * pageSize); in benchLinearWrite()
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp247 size_t iterations = 0; in TEST() local
266 iterations++; in TEST()
268 GTEST_LOG_(INFO) << "Test offline while recording for " << iterations << " times."; in TEST()
304 size_t iterations = 0; in TEST() local
326 iterations++; in TEST()
328 …GTEST_LOG_(INFO) << "Test offline while ioctl(PERF_EVENT_IOC_ENABLE) for " << iterations << " time… in TEST()
389 size_t iterations = 0; in TEST() local
412 iterations++; in TEST()
414 … GTEST_LOG_(INFO) << "Test offline while user process profiling for " << iterations << " times."; in TEST()
DIOEventLoop_test.cpp124 void TestPeriodicEvents(int period_in_us, int iterations, bool precise) { in TestPeriodicEvents() argument
134 if (++count == iterations) { in TestPeriodicEvents()
142 ASSERT_EQ(iterations, count); in TestPeriodicEvents()
145 double min_time_in_sec = period_in_us / 1e6 * iterations; in TestPeriodicEvents()
/system/bt/osi/src/
Dreactor.cc64 static reactor_status_t run_reactor(reactor_t* reactor, int iterations);
232 static reactor_status_t run_reactor(reactor_t* reactor, int iterations) { in run_reactor() argument
239 for (int i = 0; iterations == 0 || i < iterations; ++i) { in run_reactor()
/system/extras/latencytop/
Dlatencytop.c69 int delay, iterations; in main() local
75 iterations = 0; in main()
92 iterations = atoi(argv[++i]); in main()
139 while ((iterations == 0) || (count++ < iterations)) { in main()
/system/core/libsync/tests/
Dsync_test.cpp516 const int iterations = 1 << 16; in TEST() local
524 for (int i = 0; i < iterations; i++) { in TEST()
546 ASSERT_EQ(counter, iterations * 2); in TEST()
554 int iterations = 1 << 12; in TEST_P() local
562 for (int i = 0; i < iterations; i++) { in TEST_P()
568 if ((iterations + threadId) % 8 != 0) { in TEST_P()
591 for (int i = 1; i <= iterations; i++) { in TEST_P()
602 if (iterations % 8 != 0) { in TEST_P()
/system/netd/server/
DIptablesRestoreControllerTest.cpp266 for (const int iterations : ITERATIONS) { in TEST_F() local
268 for (int i = 0; i < iterations; i++) { in TEST_F()
273 std::cerr << " Add/del " << iterations << " UID rules via restore: " << timeTaken in TEST_F()
274 << "us (" << (timeTaken / 2 / iterations) << "us per operation)" << std::endl; in TEST_F()
/system/core/libunwindstack/benchmarks/
DSymbolBenchmark.cpp77 state.counters["RSS_BYTES"] = rss_bytes / static_cast<double>(state.iterations()); in BenchmarkSymbolLookup()
79 state.counters["ALLOCATED_BYTES"] = alloc_bytes / static_cast<double>(state.iterations()); in BenchmarkSymbolLookup()
DElfBenchmark.cpp66 state.counters["RSS_BYTES"] = rss_bytes / static_cast<double>(state.iterations()); in BenchmarkElfCreate()
68 state.counters["ALLOCATED_BYTES"] = alloc_bytes / static_cast<double>(state.iterations()); in BenchmarkElfCreate()
/system/extras/cpustats/
Dcpustats.c53 static int cpu_count, delay, iterations; variable
75 iterations = -1; in main()
86 iterations = atoi(argv[++i]); in main()
140 while ((iterations == -1) || (iterations-- > 0)) { in main()
/system/core/liblog/tests/
Dliblog_benchmark.cpp61 state.iterations())); in BM_log_maximum_retry()
73 __android_log_print(ANDROID_LOG_INFO, "BM_log_maximum", "%" PRIu64, state.iterations()); in BM_log_maximum()
275 state.iterations()); in BM_pmsg_short_aligned()
350 state.iterations()); in BM_pmsg_short_unaligned1()
425 state.iterations()); in BM_pmsg_long_aligned()
498 state.iterations()); in BM_pmsg_long_unaligned1()
548 test_print("BM_sprintf_overhead:%" PRIu64, state.iterations()); in BM_sprintf_overhead()
563 __android_log_print(ANDROID_LOG_INFO, "BM_log_overhead", "%" PRIu64, state.iterations()); in BM_log_print_overhead()
662 for (size_t j = 0; state.KeepRunning() && j < 10 * state.iterations(); ++j) { in BM_log_latency()
/system/extras/app-launcher/
Dapp-launcher7 iterations=0
45 iterations=$1
46 if [ "$iterations" -lt 100 ]; then
387 while [ $i -lt "$iterations" ]

12