Lines Matching refs:workers
203 vector<sp<IBinder> > workers; in worker_fx() local
207 workers.push_back(serviceMgr->getService(generateServiceName(i))); in worker_fx()
215 int target = cs_pair ? num % server_count : rand() % workers.size(); in worker_fx()
223 status_t ret = workers[target]->transact(BINDER_NOP, data, &reply); in worker_fx()
277 int workers, in run_main() argument
284 for (int i = 0; i < workers; i++) { in run_main()
285 pipes.push_back(make_worker(i, iterations, workers, payload_size, cs_pair)); in run_main()
298 …double iterations_per_sec = double(iterations * workers) / (chrono::duration_cast<chrono::nanoseco… in run_main()
305 for (int i = 0; i < workers; i++) { in run_main()
314 for (int i = 0; i < workers; i++) { in run_main()
334 int workers = 2; in main() local
355 workers = atoi(argv[i+1]); in main()
395 run_main(iterations, workers, payload_size, cs_pair, training_round=true); in main()
399 run_main(iterations, workers, payload_size, cs_pair); in main()