Lines Matching refs:nthreads
38 static unsigned int nthreads = 0; variable
47 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
125 threads_starting = nthreads; in create_threads()
127 for (i = 0; i < nthreads; i++) { in create_threads()
168 if (!nthreads) in bench_futex_lock_pi()
169 nthreads = cpu->nr; in bench_futex_lock_pi()
171 worker = calloc(nthreads, sizeof(*worker)); in bench_futex_lock_pi()
179 getpid(), nthreads, nsecs); in bench_futex_lock_pi()
186 threads_starting = nthreads; in bench_futex_lock_pi()
202 for (i = 0; i < nthreads; i++) { in bench_futex_lock_pi()
213 for (i = 0; i < nthreads; i++) { in bench_futex_lock_pi()