Lines Matching refs:nthreads
46 static unsigned int threads_starting, nthreads = 0;
50 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
88 nthreads,
99 threads_starting = nthreads;
102 for (i = 0; i < nthreads; i++) {
144 if (!nthreads)
145 nthreads = cpu->nr;
147 worker = calloc(nthreads, sizeof(*worker));
156 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes);
183 while (nwoken != nthreads)
193 j + 1, nwoken, nthreads, runtime.tv_usec / (double)USEC_PER_MSEC);
196 for (i = 0; i < nthreads; i++) {