Lines Matching refs:nthreads
1771 int nthreads; in __evsel__prepare_open() local
1798 nthreads = 1; in __evsel__prepare_open()
1800 nthreads = threads->nr; in __evsel__prepare_open()
1803 perf_evsel__alloc_fd(&evsel->core, cpus->nr, nthreads) < 0) in __evsel__prepare_open()
1998 int cpu, thread, nthreads; in evsel__open_cpu() local
2013 nthreads = 1; in evsel__open_cpu()
2015 nthreads = threads->nr; in evsel__open_cpu()
2027 for (thread = 0; thread < nthreads; thread++) { in evsel__open_cpu()
2030 if (thread >= nthreads) in evsel__open_cpu()
2102 nthreads--; in evsel__open_cpu()
2131 thread = nthreads; in evsel__open_cpu()