Lines Matching refs:max_cpu
181 struct perf_cpu max_cpu; member
1645 if (this_cpu.cpu > sched->max_cpu.cpu) in map_switch_event()
1646 sched->max_cpu = this_cpu; in map_switch_event()
1655 cpus_nr = sched->max_cpu.cpu; in map_switch_event()
2071 u32 ncpus = sched->max_cpu.cpu + 1; in timehist_header()
2156 u32 max_cpus = sched->max_cpu.cpu + 1; in timehist_print_sample()
2570 printf(" %*s ", sched->max_cpu.cpu + 1, ""); in timehist_print_wakeup_event()
2636 max_cpus = sched->max_cpu.cpu + 1; in timehist_print_migration_event()
3111 printf(" (x %d)\n", sched->max_cpu.cpu); in timehist_print_summary()
3132 if (this_cpu.cpu > sched->max_cpu.cpu) in perf_timehist__process_sample()
3133 sched->max_cpu = this_cpu; in perf_timehist__process_sample()
3298 sched->max_cpu.cpu = session->header.env.nr_cpus_online; in perf_sched__timehist()
3299 if (sched->max_cpu.cpu == 0) in perf_sched__timehist()
3300 sched->max_cpu.cpu = 4; in perf_sched__timehist()
3301 if (init_idle_threads(sched->max_cpu.cpu)) in perf_sched__timehist()
3485 sched->max_cpu.cpu = sysconf(_SC_NPROCESSORS_CONF); in setup_map_cpus()
3488 sched->map.comp_cpus = zalloc(sched->max_cpu.cpu * sizeof(int)); in setup_map_cpus()