Lines Matching refs:nblocked_threads
36 static unsigned int nblocked_threads = 0, nwaking_threads = 0; variable
44 OPT_UINTEGER('t', "threads", &nblocked_threads, "Specify amount of threads"),
121 threads_starting = nblocked_threads; in block_threads()
124 for (i = 0; i < nblocked_threads; i++) { in block_threads()
156 nblocked_threads, waketime_avg/1e3, in print_run()
171 nblocked_threads, in print_summary()
216 if (!nblocked_threads) in bench_futex_wake_parallel()
217 nblocked_threads = ncpus; in bench_futex_wake_parallel()
220 if (nwaking_threads > nblocked_threads || !nwaking_threads) in bench_futex_wake_parallel()
221 nwaking_threads = nblocked_threads; in bench_futex_wake_parallel()
223 if (nblocked_threads % nwaking_threads) in bench_futex_wake_parallel()
229 nwakes = nblocked_threads/nwaking_threads; in bench_futex_wake_parallel()
231 blocked_worker = calloc(nblocked_threads, sizeof(*blocked_worker)); in bench_futex_wake_parallel()
240 getpid(), nblocked_threads, fshared ? "shared":"private", in bench_futex_wake_parallel()
271 for (i = 0; i < nblocked_threads; i++) { in bench_futex_wake_parallel()