Lines Matching full:threads
5 * Block a bunch of threads and let parallel waker threads wakeup an
48 /* all threads will block on the same futex -- hash bucket chaos ;) */
63 OPT_UINTEGER('t', "threads", ¶ms.nthreads, "Specify amount of threads"),
64 OPT_UINTEGER('w', "nwakers", ¶ms.nwakes, "Specify amount of waking threads"),
108 /* create and block all threads */ in wakeup_threads()
161 /* create and block all threads */ in block_threads()
201 printf("[Run %d]: Avg per-thread latency (waking %d/%d threads) " in print_run()
216 printf("Avg per-thread latency (waking %d/%d threads) in %.4f ms (+-%.2f%%)\n", in print_summary()
294 printf("Run summary [PID %d]: blocking on %d threads (at [%s] " in bench_futex_wake_parallel()
295 "futex %p), %d threads waking up %d at a time.\n\n", in bench_futex_wake_parallel()
311 /* create, launch & block all threads */ in bench_futex_wake_parallel()
314 /* make sure all threads are already blocked */ in bench_futex_wake_parallel()
323 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake_parallel()