Lines Matching defs:nblocked_threads
52 static unsigned int nblocked_threads = 0, nwaking_threads = 0;
61 OPT_UINTEGER('t', "threads", &nblocked_threads, "Specify amount of threads"),
147 threads_starting = nblocked_threads;
150 for (i = 0; i < nblocked_threads; i++) {
182 nblocked_threads, waketime_avg / USEC_PER_MSEC,
197 nblocked_threads,
246 if (!nblocked_threads)
247 nblocked_threads = cpu->nr;
250 if (nwaking_threads > nblocked_threads || !nwaking_threads)
251 nwaking_threads = nblocked_threads;
253 if (nblocked_threads % nwaking_threads)
259 nwakes = nblocked_threads/nwaking_threads;
261 blocked_worker = calloc(nblocked_threads, sizeof(*blocked_worker));
270 getpid(), nblocked_threads, fshared ? "shared":"private",
301 for (i = 0; i < nblocked_threads; i++) {