Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/bench/ !
Dfutex-wake-parallel.c45 static unsigned int nwakes = 1; variable
63 OPT_UINTEGER('w', "nwakers", &params.nwakes, "Specify amount of waking threads"),
85 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn()
86 if (waker->nwoken != nwakes) in waking_workerfn()
88 waker->nwoken, nwakes); in waking_workerfn()
103 pthread_barrier_init(&barrier, NULL, params.nwakes + 1); in wakeup_threads()
106 for (i = 0; i < params.nwakes; i++) { in wakeup_threads()
119 for (i = 0; i < params.nwakes; i++) in wakeup_threads()
185 for (i = 0; i < params.nwakes; i++) { in print_run()
221 for (i = 0; i < params.nwakes; i++) { in do_run_stats()
[all …]
Dfutex-wake.c48 .nwakes = 1,
53 OPT_UINTEGER('w', "nwakes", &params.nwakes, "Specify amount of threads to wake at once"),
176 &futex1, params.nwakes); in bench_futex_wake()
205 params.nwakes, futex_flag); in bench_futex_wake()
Dfutex.h26 unsigned int nwakes; member