Lines Matching defs:nthreads
2288 int nthreads = perf_thread_map__nr(threads);
2315 perf_evsel__alloc_fd(&evsel->core, perf_cpu_map__nr(cpus), nthreads) < 0)
2319 ret = evsel__tool_pmu_prepare_open(evsel, cpus, nthreads);
2792 int idx, thread, nthreads;
2812 nthreads = perf_thread_map__nr(threads);
2845 for (thread = 0; thread < nthreads; thread++) {
2848 if (thread >= nthreads)
2924 /* We just removed 1 thread, so lower the upper nthreads limit. */
2925 nthreads--;
2955 thread = nthreads;