Searched refs:nwakes (Results 1 – 2 of 2) sorted by relevance
/tools/perf/bench/ |
D | futex-wake-parallel.c | 45 static unsigned int nwakes = 1; variable 82 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 83 if (waker->nwoken != nwakes) in waking_workerfn() 85 waker->nwoken, nwakes); in waking_workerfn() 259 nwakes = nblocked_threads/nwaking_threads; in bench_futex_wake_parallel() 271 &futex, nwaking_threads, nwakes); in bench_futex_wake_parallel()
|
D | futex-wake.c | 39 static unsigned int nwakes = 1; variable 51 OPT_UINTEGER('w', "nwakes", &nwakes, "Specify amount of threads to wake at once"), 156 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake() 184 nwoken += futex_wake(&futex1, nwakes, futex_flag); in bench_futex_wake()
|