Lines Matching defs:nr_threads
65 int nr_threads;
155 OPT_INTEGER('t', "nr_threads" , &p0.nr_threads, "number of threads per process"),
812 for (t = 0; t < g->p.nr_threads; t++) {
817 task_nr = process_nr*g->p.nr_threads + t;
845 for (t = 0; t < g->p.nr_threads; t++) {
850 task_nr = p*g->p.nr_threads + t;
1040 if (process_nr == g->p.nr_proc-1 && thread_nr == g->p.nr_threads-1)
1080 val += do_work(process_data, g->p.bytes_process, thread_nr, g->p.nr_threads, l, val);
1093 val += do_work(process_data, g->p.bytes_process_locked, thread_nr, g->p.nr_threads, l, val);
1209 task_nr = process_nr*g->p.nr_threads;
1215 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t));
1223 for (t = 0; t < g->p.nr_threads; t++) {
1224 task_nr = process_nr*g->p.nr_threads + t;
1239 for (t = 0; t < g->p.nr_threads; t++) {
1338 BUG_ON(g->p.nr_threads <= 0);
1341 g->p.nr_tasks = g->p.nr_proc*g->p.nr_threads;