Searched refs:nwakes (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/tools/perf/bench/ |
D | futex-wake-parallel.c | 44 static unsigned int nwakes = 1; variable 81 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 82 if (waker->nwoken != nwakes) in waking_workerfn() 84 waker->nwoken, nwakes); in waking_workerfn() 257 nwakes = nblocked_threads/nwaking_threads; in bench_futex_wake_parallel() 269 &futex, nwaking_threads, nwakes); in bench_futex_wake_parallel()
|
D | futex-wake.c | 38 static unsigned int nwakes = 1; variable 50 OPT_UINTEGER('w', "nwakes", &nwakes, "Specify amount of threads to wake at once"), 154 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake() 182 nwoken += futex_wake(&futex1, nwakes, futex_flag); in bench_futex_wake()
|