Lines Matching refs:nthreads
46 static unsigned int ncpus, threads_starting, nthreads = 0; variable
50 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
88 nthreads, in print_summary()
99 threads_starting = nthreads; in block_threads()
102 for (i = 0; i < nthreads; i++) { in block_threads()
143 if (!nthreads) in bench_futex_wake()
144 nthreads = ncpus; in bench_futex_wake()
146 worker = calloc(nthreads, sizeof(*worker)); in bench_futex_wake()
155 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
182 while (nwoken != nthreads) in bench_futex_wake()
192 j + 1, nwoken, nthreads, runtime.tv_usec / (double)USEC_PER_MSEC); in bench_futex_wake()
195 for (i = 0; i < nthreads; i++) { in bench_futex_wake()