Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp183 bool cs_pair, in worker_fx() argument
198 int server_count = cs_pair ? worker_count / 2 : worker_count; in worker_fx()
213 for (int i = 0; (!cs_pair || num >= server_count) && i < iterations; i++) { in worker_fx()
215 int target = cs_pair ? num % server_count : rand() % workers.size(); in worker_fx()
246 Pipe make_worker(int num, int iterations, int worker_count, int payload_size, bool cs_pair) in make_worker() argument
255 worker_fx(num, worker_count, iterations, payload_size, cs_pair, move(get<1>(pipe_pair))); in make_worker()
279 int cs_pair, in run_main() argument
285 pipes.push_back(make_worker(i, iterations, workers, payload_size, cs_pair)); in run_main()
337 bool cs_pair = false; in main() local
372 cs_pair = true; in main()
[all …]