Lines Matching refs:nthreads
38 static unsigned int ncpus, threads_starting, nthreads = 0; variable
42 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
75 nthreads, in print_summary()
86 threads_starting = nthreads; in block_threads()
89 for (i = 0; i < nthreads; i++) { in block_threads()
128 if (!nthreads) in bench_futex_wake()
129 nthreads = ncpus; in bench_futex_wake()
131 worker = calloc(nthreads, sizeof(*worker)); in bench_futex_wake()
140 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
167 while (nwoken != nthreads) in bench_futex_wake()
177 j + 1, nwoken, nthreads, runtime.tv_usec/1e3); in bench_futex_wake()
180 for (i = 0; i < nthreads; i++) { in bench_futex_wake()