Home
last modified time | relevance | path

Searched refs:cpus_nr (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/
H A Dbuiltin-sched.c1572 static void print_sched_map(struct perf_sched *sched, struct perf_cpu this_cpu, int cpus_nr, in print_sched_map() argument
1575 for (int i = 0; i < cpus_nr; i++) { in print_sched_map()
1635 int cpus_nr; in map_switch_event() local
1649 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
1651 sched->map.comp_cpus[cpus_nr++] = this_cpu; in map_switch_event()
1655 cpus_nr = sched->max_cpu.cpu; in map_switch_event()
1739 print_sched_map(sched, this_cpu, cpus_nr, color, false); in map_switch_event()
1772 print_sched_map(sched, this_cpu, cpus_nr, color, true); in map_switch_event()
H A Dbuiltin-kwork.c1598 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_cpu_usage() local
1604 cpus_nr); in top_print_cpu_usage()