Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/bench/
Dfutex-wake-parallel.c46 static unsigned int nwakes = 1; variable
64 OPT_UINTEGER('w', "nwakers", &params.nwakes, "Specify amount of waking threads"),
86 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn()
87 if (waker->nwoken != nwakes) in waking_workerfn()
89 waker->nwoken, nwakes); in waking_workerfn()
104 pthread_barrier_init(&barrier, NULL, params.nwakes + 1); in wakeup_threads()
107 for (i = 0; i < params.nwakes; i++) { in wakeup_threads()
120 for (i = 0; i < params.nwakes; i++) in wakeup_threads()
186 for (i = 0; i < params.nwakes; i++) { in print_run()
222 for (i = 0; i < params.nwakes; i++) { in do_run_stats()
[all …]
Dfutex-wake.c49 .nwakes = 1,
54 OPT_UINTEGER('w', "nwakes", &params.nwakes, "Specify amount of threads to wake at once"),
177 &futex1, params.nwakes); in bench_futex_wake()
206 params.nwakes, futex_flag); in bench_futex_wake()
Dfutex.h26 unsigned int nwakes; member