Lines Matching refs:nthreads
52 OPT_UINTEGER('t', "threads", ¶ms.nthreads, "Specify amount of threads"),
76 params.nthreads, in print_summary()
129 threads_starting = params.nthreads; in block_threads()
132 for (i = 0; i < params.nthreads; i++) { in block_threads()
177 if (!params.nthreads) in bench_futex_requeue()
178 params.nthreads = cpu->nr; in bench_futex_requeue()
180 worker = calloc(params.nthreads, sizeof(*worker)); in bench_futex_requeue()
187 if (params.nrequeue > params.nthreads) in bench_futex_requeue()
188 params.nrequeue = params.nthreads; in bench_futex_requeue()
191 params.nrequeue = params.nthreads; in bench_futex_requeue()
194 "%d at a time.\n\n", getpid(), params.nthreads, in bench_futex_requeue()
223 while (nrequeued < params.nthreads) { in bench_futex_requeue()
260 params.nthreads, in bench_futex_requeue()
267 params.nthreads, in bench_futex_requeue()
276 if (params.nthreads != nrequeued) in bench_futex_requeue()
278 nrequeued, params.nthreads); in bench_futex_requeue()
281 for (i = 0; i < params.nthreads; i++) { in bench_futex_requeue()