Home
last modified time | relevance | path

Searched refs:nwaking_threads (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/tools/perf/bench/
Dfutex-wake-parallel.c52 static unsigned int nblocked_threads = 0, nwaking_threads = 0; variable
62 OPT_UINTEGER('w', "nwakers", &nwaking_threads, "Specify amount of waking threads"),
100 pthread_barrier_init(&barrier, NULL, nwaking_threads + 1); in wakeup_threads()
103 for (i = 0; i < nwaking_threads; i++) { in wakeup_threads()
116 for (i = 0; i < nwaking_threads; i++) in wakeup_threads()
171 for (i = 0; i < nwaking_threads; i++) { in print_run()
207 for (i = 0; i < nwaking_threads; i++) { in do_run_stats()
250 if (nwaking_threads > nblocked_threads || !nwaking_threads) in bench_futex_wake_parallel()
251 nwaking_threads = nblocked_threads; in bench_futex_wake_parallel()
253 if (nblocked_threads % nwaking_threads) in bench_futex_wake_parallel()
[all …]