Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp174 bool cs_pair, in worker_fx() argument
189 int server_count = cs_pair ? worker_count / 2 : worker_count; in worker_fx()
204 for (int i = 0; (!cs_pair || num >= server_count) && i < iterations; i++) { in worker_fx()
206 int target = cs_pair ? num % server_count : rand() % workers.size(); in worker_fx()
237 Pipe make_worker(int num, int iterations, int worker_count, int payload_size, bool cs_pair) in make_worker() argument
246 worker_fx(num, worker_count, iterations, payload_size, cs_pair, move(get<1>(pipe_pair))); in make_worker()
272 bool cs_pair = false; in main() local
297 cs_pair = true; in main()
303 pipes.push_back(make_worker(i, iterations, workers, payload_size, cs_pair)); in main()