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