Lines Matching refs:nblocked_threads
52 static unsigned int nblocked_threads = 0, nwaking_threads = 0; variable
61 OPT_UINTEGER('t', "threads", &nblocked_threads, "Specify amount of threads"),
147 threads_starting = nblocked_threads; in block_threads()
150 for (i = 0; i < nblocked_threads; i++) { in block_threads()
182 nblocked_threads, waketime_avg / USEC_PER_MSEC, in print_run()
197 nblocked_threads, in print_summary()
245 if (!nblocked_threads) in bench_futex_wake_parallel()
246 nblocked_threads = cpu->nr; in bench_futex_wake_parallel()
249 if (nwaking_threads > nblocked_threads || !nwaking_threads) in bench_futex_wake_parallel()
250 nwaking_threads = nblocked_threads; in bench_futex_wake_parallel()
252 if (nblocked_threads % nwaking_threads) in bench_futex_wake_parallel()
258 nwakes = nblocked_threads/nwaking_threads; in bench_futex_wake_parallel()
260 blocked_worker = calloc(nblocked_threads, sizeof(*blocked_worker)); in bench_futex_wake_parallel()
269 getpid(), nblocked_threads, fshared ? "shared":"private", in bench_futex_wake_parallel()
300 for (i = 0; i < nblocked_threads; i++) { in bench_futex_wake_parallel()