Lines Matching refs:i
124 for (uint32_t i = 0; i < num_buckets; i++) { in combine() local
125 ret.m_buckets[i] = a.m_buckets[i] + b.m_buckets[i]; in combine()
148 for (uint32_t i = 0; i < num_buckets; i++) { in dump() local
149 float cur_time = time_per_bucket_ms * i + 0.5f * time_per_bucket_ms; in dump()
151 && (cur_total + m_buckets[i] >= 0.5f * m_transactions)) { in dump()
155 && (cur_total + m_buckets[i] >= 0.9f * m_transactions)) { in dump()
159 && (cur_total + m_buckets[i] >= 0.95f * m_transactions)) { in dump()
163 && (cur_total + m_buckets[i] >= 0.99f * m_transactions)) { in dump()
166 cur_total += m_buckets[i]; in dump()
209 for (int i = 0; i < service_count; i++) { in worker_fx() local
211 generateServiceName(i), get_stub); in worker_fx()
226 for (size_t i = 0; i < data_vec.size(); i++) { in worker_fx() local
227 data_vec[i] = i; in worker_fx()
230 for (int i = 0; i < iterations; i++) { in worker_fx() local
288 for (size_t i = 0; i < v.size(); i++) { in wait_all() local
289 v[i].wait(); in wait_all()
294 for (size_t i = 0; i < v.size(); i++) { in signal_all() local
295 v[i].signal(); in signal_all()
318 for (int i = 1; i < argc; i++) { in main() local
319 if (string(argv[i]) == "-m") { in main()
320 if (!strcmp(argv[i + 1], "PASSTHROUGH")) { in main()
323 i++; in main()
326 if (string(argv[i]) == "-w") { in main()
327 workers = atoi(argv[i + 1]); in main()
328 i++; in main()
331 if (string(argv[i]) == "-i") { in main()
332 iterations = atoi(argv[i + 1]); in main()
333 i++; in main()
336 if (string(argv[i]) == "-s") { in main()
337 services = atoi(argv[i + 1]); in main()
338 i++; in main()
349 for (int i = 0; i < services; i++) { in main() local
350 string serviceName = generateServiceName(i); in main()
360 for (int i = 0; i < workers; i++) { in main() local
361 worker_pipes.push_back(make_worker(i, iterations, services, get_stub)); in main()
384 for (int i = 0; i < workers; i++) { in main() local
386 worker_pipes[i].recv(tmp_results); in main()
395 for (int i = 0; i < services; i++) { in main() local
406 for (int i = 0; i < workers; i++) { in main() local