Lines Matching full:threads
5 * futex-requeue: Block a bunch of threads on futex1 and requeue them
52 OPT_UINTEGER('t', "threads", ¶ms.nthreads, "Specify amount of threads"),
53 OPT_UINTEGER('q', "nrequeue", ¶ms.nrequeue, "Specify amount of threads to requeue at once"),
57 OPT_BOOLEAN( 'B', "broadcast", ¶ms.broadcast, "Requeue all threads at once"),
74 printf("Requeued %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary()
131 /* create and block all threads */ in block_threads()
193 printf("Run summary [PID %d]: Requeuing %d threads (from [%s] %p to %s%p), " in bench_futex_requeue()
209 /* create, launch & block all threads */ in bench_futex_requeue()
212 /* make sure all threads are already blocked */ in bench_futex_requeue()
221 /* Ok, all threads are patiently blocked, start requeueing */ in bench_futex_requeue()
258 printf("[Run %d]: Requeued %d of %d threads in " in bench_futex_requeue()
265 "%d threads in %.4f ms\n", in bench_futex_requeue()