Lines Matching refs:nthreads
36 static unsigned int nthreads = 0; variable
76 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
234 for (i = 0; i < nthreads; i++) { in do_threads()
336 if (!nthreads) in bench_epoll_ctl()
337 nthreads = cpu->nr; in bench_epoll_ctl()
339 worker = calloc(nthreads, sizeof(*worker)); in bench_epoll_ctl()
345 rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50; in bench_epoll_ctl()
353 getpid(), nthreads, nfds, nsecs); in bench_epoll_ctl()
362 threads_starting = nthreads; in bench_epoll_ctl()
378 for (i = 0; i < nthreads; i++) { in bench_epoll_ctl()
389 for (i = 0; i < nthreads; i++) { in bench_epoll_ctl()