Lines Matching defs:nthreads
33 static unsigned int nthreads = 0;
54 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
145 if (!nthreads) /* default to the number of CPUs */
146 nthreads = cpu->nr;
148 worker = calloc(nthreads, sizeof(*worker));
156 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs);
163 threads_starting = nthreads;
166 for (i = 0; i < nthreads; i++) {
196 for (i = 0; i < nthreads; i++) {
207 for (i = 0; i < nthreads; i++) {