/system/netd/tests/benchmarks/ |
D | connect_benchmark.cpp | 109 uint64_t iterations = 0; in ipv4_loopback() local 128 latencies[iterations] = stopwatch.timeTaken() * 1e6L; in ipv4_loopback() 129 state.SetIterationTime(latencies[iterations] / 1e9L); 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.timeTaken() * 1e6L; in ipv6_loopback() 186 state.SetIterationTime(latencies[iterations] / 1e9L); in ipv6_loopback() [all …]
|
/system/nfc/ |
D | run_unit_tests.sh | 33 iterations=1 51 iterations=$(( $1 )) 107 for i in $(seq 1 ${iterations}) 113 failed_tests+=( "${name} ${failed_count}/${iterations}" )
|
/system/extras/tests/workloads/ |
D | systemapps.sh | 25 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 …]
|
D | feedly-chrome.sh | 58 while [ $cur -le $iterations ] 61 echo Iteration $cur of $iterations 108 ((feedlyAve=feedlyStartTimes/iterations))
|
D | youtube.sh | 7 iterations=10 92 while [ $cur -le $iterations ]
|
D | chromefling.sh | 7 iterations=10 98 while [ $cur -le $iterations ]
|
D | recentfling.sh | 10 iterations=10 104 while [ $cur -le $iterations ]
|
/system/bt/test/ |
D | run_benchmarks.sh | 30 iterations=1 48 iterations=$(( $1 )) 111 for i in $(seq 1 ${iterations}) 117 failed_benchmarks+=( "${name} ${failed_count}/${iterations}" )
|
D | run_unit_tests.sh | 56 iterations=1 74 iterations=$(( $1 )) 137 for i in $(seq 1 ${iterations}) 143 failed_tests+=( "${name} ${failed_count}/${iterations}" )
|
/system/extras/pssbench/ |
D | main.cpp | 11 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/ |
D | mem-pressure.cpp | 63 int iterations = 0; in main() local 72 iterations = atoi(optarg); in main() 94 while (iterations == 0 || i < iterations) { in main()
|
/system/libhwbinder/vts/performance/ |
D | Latency.cpp | 65 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()
|
D | Benchmark_throughput.cpp | 198 int iterations, in worker_fx() argument 230 for (int i = 0; i < iterations; i++) { in worker_fx() 272 Pipe make_worker(int num, int iterations, int service_count, bool get_stub) { in make_worker() argument 280 worker_fx(num, iterations, service_count, get_stub, in make_worker() 312 int iterations = 10000; in main() local 332 iterations = atoi(argv[i + 1]); in main() 361 worker_pipes.push_back(make_worker(i, iterations, services, get_stub)); in main() 375 double iterations_per_sec = double(iterations * workers) in main()
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 120 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/ |
D | cpu_hotplug_test.cpp | 247 size_t iterations = 0; in TEST() local 265 iterations++; in TEST() 267 GTEST_LOG_(INFO) << "Test offline while recording for " << iterations << " times."; in TEST() 303 size_t iterations = 0; in TEST() local 324 iterations++; in TEST() 326 …GTEST_LOG_(INFO) << "Test offline while ioctl(PERF_EVENT_IOC_ENABLE) for " << iterations << " time… in TEST() 387 size_t iterations = 0; in TEST() local 409 iterations++; in TEST() 411 … GTEST_LOG_(INFO) << "Test offline while user process profiling for " << iterations << " times."; in TEST()
|
D | IOEventLoop_test.cpp | 124 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/extras/perfprofd/binder_interface/aidl/android/os/ |
D | IPerfProfd.aidl | 24 void startProfiling(int collectionInterval, int iterations, in startProfiling() argument
|
/system/extras/latencytop/ |
D | latencytop.c | 69 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/ |
D | sync_test.cpp | 516 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/bt/osi/src/ |
D | reactor.cc | 64 static reactor_status_t run_reactor(reactor_t* reactor, int iterations); 234 static reactor_status_t run_reactor(reactor_t* reactor, int iterations) { in run_reactor() argument 241 for (int i = 0; iterations == 0 || i < iterations; ++i) { in run_reactor()
|
/system/netd/server/ |
D | IptablesRestoreControllerTest.cpp | 266 for (const int iterations : ITERATIONS) { in TEST_F() local 268 for (int i = 0; i < iterations; i++) { in TEST_F() 274 iterations, timeTaken, timeTaken / 2 / iterations); in TEST_F()
|
/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() 140 while ((iterations == -1) || (iterations-- > 0)) { in main()
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 60 ANDROID_LOG_INFO, "BM_log_maximum_retry", "%zu", state.iterations())); in BM_log_maximum_retry() 73 state.iterations()); in BM_log_maximum() 290 state.iterations()); in BM_pmsg_short_aligned() 365 state.iterations()); in BM_pmsg_short_unaligned1() 440 state.iterations()); in BM_pmsg_long_aligned() 513 state.iterations()); in BM_pmsg_long_unaligned1() 563 test_print("BM_sprintf_overhead:%zu", state.iterations()); in BM_sprintf_overhead() 579 state.iterations()); in BM_log_print_overhead() 695 for (size_t j = 0; state.KeepRunning() && j < 10 * state.iterations(); ++j) { in BM_log_latency()
|
/system/extras/perfprofd/binder_interface/ |
D | perfprofd_binder.cc | 71 int32_t iterations, 125 int32_t iterations, in startProfiling() argument 139 if (iterations >= 0) { in startProfiling() 140 config.main_loop_iterations = iterations; in startProfiling()
|
/system/extras/app-launcher/ |
D | app-launcher | 7 iterations=0 45 iterations=$1 46 if [ "$iterations" -lt 100 ]; then 387 while [ $i -lt "$iterations" ]
|