Lines Matching refs:ncpus
52 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads)
55 evsel->fd = xyarray__new(ncpus, nthreads, sizeof(int));
58 for (cpu = 0; cpu < ncpus; cpu++) {
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));
84 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus)
87 (ncpus * sizeof(struct perf_counts_values))));
105 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads)
109 for (cpu = 0; cpu < ncpus; cpu++)
160 int ncpus, int nthreads, bool scale)
168 for (cpu = 0; cpu < ncpus; cpu++) {