/system/netd/tests/benchmarks/ |
D | connect_benchmark.cpp | 109 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/src/fuzzers/ |
D | fuzz_cmn.cc | 14 uint_t iterations = 50; in main() local 22 iterations = atol(argv[2]); in main() 25 FUZZLOG("iterations=%d, seed=%d", iterations, seed); in main() 31 for (auto i = 0; i < iterations; i++) { in main()
|
/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 | recentfling.sh | 10 iterations=10 104 while [ $cur -le $iterations ]
|
D | chromefling.sh | 7 iterations=10 98 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 | 57 iterations=1 75 iterations=$(( $1 )) 138 for i in $(seq 1 ${iterations}) 144 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 | 59 int iterations = 0; in main() local 67 iterations = atoi(optarg); in main() 89 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 | 199 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/ |
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 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 325 iterations++; in TEST() 327 GTEST_LOG_(INFO) << "Test offline while ioctl(PERF_EVENT_IOC_ENABLE) for " << iterations 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 in TEST()
|
D | IOEventLoop_test.cpp | 126 void TestPeriodicEvents(int period_in_us, int iterations, bool precise) { in TestPeriodicEvents() argument 136 if (++count == iterations) { in TestPeriodicEvents() 144 ASSERT_EQ(iterations, count); in TestPeriodicEvents() 147 double min_time_in_sec = period_in_us / 1e6 * iterations; in TestPeriodicEvents()
|
/system/bt/osi/src/ |
D | reactor.cc | 64 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/ |
D | latencytop.c | 70 int delay, iterations; in main() local 76 iterations = 0; in main() 93 iterations = atoi(argv[++i]); in main() 141 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/extras/cpustats/ |
D | cpustats.c | 57 static int cpu_count, delay, iterations; variable 79 iterations = -1; in main() 90 iterations = atoi(argv[++i]); in main() 144 while ((iterations == -1) || (iterations-- > 0)) { in main()
|
/system/unwinding/libunwindstack/benchmarks/ |
D | ElfBenchmark.cpp | 66 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()
|
D | SymbolBenchmark.cpp | 79 state.counters["RSS_BYTES"] = rss_bytes / static_cast<double>(state.iterations()); in BenchmarkSymbolLookup() 81 state.counters["ALLOCATED_BYTES"] = alloc_bytes / static_cast<double>(state.iterations()); in BenchmarkSymbolLookup()
|
/system/logging/liblog/tests/ |
D | liblog_benchmark.cpp | 61 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/netd/server/ |
D | IptablesRestoreControllerTest.cpp | 306 for (const int iterations : ITERATIONS) { in TEST_F() local 308 for (int i = 0; i < iterations; i++) { in TEST_F() 313 std::cerr << " Add/del " << iterations << " UID rules via restore: " << timeTaken in TEST_F() 314 << "us (" << (timeTaken / 2 / iterations) << "us per operation)" << std::endl; in TEST_F()
|