Searched refs:nwakes (Results 1 – 2 of 2) sorted by relevance
/tools/perf/bench/ |
D | futex-wake-parallel.c | 33 static unsigned int nwakes = 1; variable 67 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 68 if (waker->nwoken != nwakes) in waking_workerfn() 70 waker->nwoken, nwakes); in waking_workerfn() 233 nwakes = nblocked_threads/nwaking_threads; in bench_futex_wake_parallel() 245 &futex, nwaking_threads, nwakes); in bench_futex_wake_parallel()
|
D | futex-wake.c | 35 static unsigned int nwakes = 1; variable 47 OPT_UINTEGER('w', "nwakes", &nwakes, "Specify amount of threads to wake at once"), 149 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake() 177 nwoken += futex_wake(&futex1, nwakes, futex_flag); in bench_futex_wake()
|