Lines Matching defs:nthreads
36 static unsigned int nthreads = 0;
75 OPT_UINTEGER('t', "threads", &nthreads, "Specify amount of threads"),
240 for (i = 0; i < nthreads; i++) {
349 if (!nthreads)
350 nthreads = perf_cpu_map__nr(cpu);
352 worker = calloc(nthreads, sizeof(*worker));
358 rl.rlim_cur = rl.rlim_max = nfds * nthreads * 2 + 50;
366 getpid(), nthreads, nfds, nsecs);
375 threads_starting = nthreads;
391 for (i = 0; i < nthreads; i++) {
402 for (i = 0; i < nthreads; i++) {
425 for (i = 0; i < nthreads; i++)