Home | History | Annotate | Download | only in util

Lines Matching refs:nthreads

52 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads)
55 evsel->fd = xyarray__new(ncpus, nthreads, sizeof(int));
59 for (thread = 0; thread < nthreads; thread++) {
68 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads)
70 evsel->sample_id = xyarray__new(ncpus, nthreads, sizeof(struct perf_sample_id));
74 evsel->id = zalloc(ncpus * nthreads * sizeof(u64));
105 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads)
110 for (thread = 0; thread < nthreads; ++thread) {
160 int ncpus, int nthreads, bool scale)
169 for (thread = 0; thread < nthreads; thread++) {