Lines Matching refs:nwaking_threads
36 static unsigned int nblocked_threads = 0, nwaking_threads = 0; variable
45 OPT_UINTEGER('w', "nwakers", &nwaking_threads, "Specify amount of waking threads"),
82 for (i = 0; i < nwaking_threads; i++) { in wakeup_threads()
93 for (i = 0; i < nwaking_threads; i++) in wakeup_threads()
145 for (i = 0; i < nwaking_threads; i++) { in print_run()
181 for (i = 0; i < nwaking_threads; i++) { in do_run_stats()
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()
241 &futex, nwaking_threads, nwakes); in bench_futex_wake_parallel()
252 waking_worker = calloc(nwaking_threads, sizeof(*waking_worker)); in bench_futex_wake_parallel()