Lines Matching refs:nthreads
53 OPT_UINTEGER('t', "threads", ¶ms.nthreads, "Specify amount of threads"),
77 params.nthreads, in print_summary()
132 threads_starting = params.nthreads; in block_threads()
139 for (i = 0; i < params.nthreads; i++) { in block_threads()
189 if (!params.nthreads) in bench_futex_requeue()
190 params.nthreads = perf_cpu_map__nr(cpu); in bench_futex_requeue()
192 worker = calloc(params.nthreads, sizeof(*worker)); in bench_futex_requeue()
199 if (params.nrequeue > params.nthreads) in bench_futex_requeue()
200 params.nrequeue = params.nthreads; in bench_futex_requeue()
203 params.nrequeue = params.nthreads; in bench_futex_requeue()
206 "%d at a time.\n\n", getpid(), params.nthreads, in bench_futex_requeue()
235 while (nrequeued < params.nthreads) { in bench_futex_requeue()
272 params.nthreads, in bench_futex_requeue()
279 params.nthreads, in bench_futex_requeue()
288 if (params.nthreads != nrequeued) in bench_futex_requeue()
290 nrequeued, params.nthreads); in bench_futex_requeue()
293 for (i = 0; i < params.nthreads; i++) { in bench_futex_requeue()