Lines Matching refs:nr_threads
80 int nr_threads; member
171 OPT_INTEGER('t', "nr_threads" , &p0.nr_threads, "number of threads per process"),
902 for (t = 0; t < g->p.nr_threads; t++) { in count_process_nodes()
907 task_nr = process_nr*g->p.nr_threads + t; in count_process_nodes()
941 for (t = 0; t < g->p.nr_threads; t++) { in count_node_processes()
946 task_nr = p*g->p.nr_threads + t; in count_node_processes()
1153 if (process_nr == g->p.nr_proc-1 && thread_nr == g->p.nr_threads-1) in worker_thread()
1196 val += do_work(process_data, g->p.bytes_process, thread_nr, g->p.nr_threads, l, val); in worker_thread()
1209 val += do_work(process_data, g->p.bytes_process_locked, thread_nr, g->p.nr_threads, l, val); in worker_thread()
1333 task_nr = process_nr*g->p.nr_threads; in worker_process()
1339 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t)); in worker_process()
1347 for (t = 0; t < g->p.nr_threads; t++) { in worker_process()
1348 task_nr = process_nr*g->p.nr_threads + t; in worker_process()
1363 for (t = 0; t < g->p.nr_threads; t++) { in worker_process()
1462 BUG_ON(g->p.nr_threads <= 0); in init()
1465 g->p.nr_tasks = g->p.nr_proc*g->p.nr_threads; in init()
1678 for (t = 0; t < g->p.nr_threads; t++) { in __bench_numa()
1680 td = g->threads + p*g->p.nr_threads + t; in __bench_numa()
1739 p->nr_threads = 1; in init_params()