Lines Matching refs:nthreads
63 OPT_UINTEGER('t', "threads", ¶ms.nthreads, "Specify amount of threads"),
153 threads_starting = params.nthreads; in block_threads()
160 for (i = 0; i < params.nthreads; i++) { in block_threads()
197 params.nthreads, waketime_avg / USEC_PER_MSEC, in print_run()
212 params.nthreads, in print_summary()
266 if (!params.nthreads) in bench_futex_wake_parallel()
267 params.nthreads = perf_cpu_map__nr(cpu); in bench_futex_wake_parallel()
270 if (params.nwakes > params.nthreads || in bench_futex_wake_parallel()
272 params.nwakes = params.nthreads; in bench_futex_wake_parallel()
274 if (params.nthreads % params.nwakes) in bench_futex_wake_parallel()
280 nwakes = params.nthreads/params.nwakes; in bench_futex_wake_parallel()
282 blocked_worker = calloc(params.nthreads, sizeof(*blocked_worker)); in bench_futex_wake_parallel()
291 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake_parallel()
322 for (i = 0; i < params.nthreads; i++) { in bench_futex_wake_parallel()