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