Home | History | Annotate | Download | only in util

Lines Matching refs:ncpus

700 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads)
703 evsel->fd = xyarray__new(ncpus, nthreads, sizeof(int));
706 for (cpu = 0; cpu < ncpus; cpu++) {
716 static int perf_evsel__run_ioctl(struct perf_evsel *evsel, int ncpus, int nthreads,
721 for (cpu = 0; cpu < ncpus; cpu++) {
734 int perf_evsel__set_filter(struct perf_evsel *evsel, int ncpus, int nthreads,
737 return perf_evsel__run_ioctl(evsel, ncpus, nthreads,
742 int perf_evsel__enable(struct perf_evsel *evsel, int ncpus, int nthreads)
744 return perf_evsel__run_ioctl(evsel, ncpus, nthreads,
749 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads)
751 evsel->sample_id = xyarray__new(ncpus, nthreads, sizeof(struct perf_sample_id));
755 evsel->id = zalloc(ncpus * nthreads * sizeof(u64));
765 void perf_evsel__reset_counts(struct perf_evsel *evsel, int ncpus)
768 (ncpus * sizeof(struct perf_counts_values))));
771 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus)
774 (ncpus * sizeof(struct perf_counts_values))));
792 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads)
796 for (cpu = 0; cpu < ncpus; cpu++)
878 int ncpus, int nthreads, bool scale)
886 for (cpu = 0; cpu < ncpus; cpu++) {
1109 void perf_evsel__close(struct perf_evsel *evsel, int ncpus, int nthreads)
1114 perf_evsel__close_fd(evsel, ncpus, nthreads);