Lines Matching refs:cpus
285 return perf_evsel__open_per_cpu(evsel, evsel_list->cpus, false); in create_perf_stat_counter()
348 if (__perf_evsel__read(counter, evsel_list->cpus->nr, in read_counter_aggr()
377 for (cpu = 0; cpu < evsel_list->cpus->nr; cpu++) { in read_counter()
500 perf_evsel__close_fd(counter, evsel_list->cpus->nr, 1); in run_perf_stat()
505 perf_evsel__close_fd(counter, evsel_list->cpus->nr, in run_perf_stat()
543 evsel_list->cpus->map[cpu], csv_sep); in nsec_printout()
764 evsel_list->cpus->map[cpu], csv_sep); in abs_printout()
919 for (cpu = 0; cpu < evsel_list->cpus->nr; cpu++) { in print_counter()
926 evsel_list->cpus->map[cpu], csv_sep, in print_counter()
1200 evsel_list->cpus = cpu_map__new(cpu_list); in cmd_stat()
1202 evsel_list->cpus = cpu_map__dummy_new(); in cmd_stat()
1204 if (evsel_list->cpus == NULL) { in cmd_stat()
1212 perf_evsel__alloc_counts(pos, evsel_list->cpus->nr) < 0 || in cmd_stat()
1213 perf_evsel__alloc_fd(pos, evsel_list->cpus->nr, evsel_list->threads->nr) < 0) in cmd_stat()