Lines Matching refs:nthreads
35 static unsigned int nthreads = 0; variable
74 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
232 for (i = 0; i < nthreads; i++) { in do_threads()
335 if (!nthreads) in bench_epoll_ctl()
336 nthreads = cpu->nr; in bench_epoll_ctl()
338 worker = calloc(nthreads, sizeof(*worker)); in bench_epoll_ctl()
344 rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50; in bench_epoll_ctl()
352 getpid(), nthreads, nfds, nsecs); in bench_epoll_ctl()
361 threads_starting = nthreads; in bench_epoll_ctl()
377 for (i = 0; i < nthreads; i++) { in bench_epoll_ctl()
388 for (i = 0; i < nthreads; i++) { in bench_epoll_ctl()