Lines Matching full:threads
5 * futex-wake: Block a bunch of threads on a futex and wake'em up, N at a time.
32 /* all threads will block on the same futex */
50 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
51 OPT_UINTEGER('w', "nwakes", &nwakes, "Specify amount of threads to wake at once"),
86 printf("Wokeup %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary()
101 /* create and block all threads */ in block_threads()
154 printf("Run summary [PID %d]: blocking on %d threads (at [%s] futex %p), " in bench_futex_wake()
169 /* create, launch & block all threads */ in bench_futex_wake()
172 /* make sure all threads are already blocked */ in bench_futex_wake()
181 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake()
192 printf("[Run %d]: Wokeup %d of %d threads in %.4f ms\n", in bench_futex_wake()