Home
last modified time | relevance | path

Searched refs:max_cpu (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/kvm/
Drseq_test.c33 static int min_cpu, max_cpu; variable
56 if (cpu > max_cpu) { in next_cpu()
173 max_cpu = -1; in calc_min_max_cpu()
181 max_cpu = i; in calc_min_max_cpu()
/tools/perf/scripts/python/
Dsched-migration.py321 max_cpu = 0
323 if cpu > max_cpu:
324 max_cpu = cpu
325 return max_cpu
/tools/perf/
Dbuiltin-sched.c195 struct perf_cpu max_cpu; member
1586 if (this_cpu.cpu > sched->max_cpu.cpu) in map_switch_event()
1587 sched->max_cpu = this_cpu; in map_switch_event()
1596 cpus_nr = sched->max_cpu.cpu; in map_switch_event()
1979 u32 ncpus = sched->max_cpu.cpu + 1; in timehist_header()
2058 u32 max_cpus = sched->max_cpu.cpu + 1; in timehist_print_sample()
2447 printf(" %*s ", sched->max_cpu.cpu + 1, ""); in timehist_print_wakeup_event()
2513 max_cpus = sched->max_cpu.cpu + 1; in timehist_print_migration_event()
2957 printf(" (x %d)\n", sched->max_cpu.cpu); in timehist_print_summary()
2978 if (this_cpu.cpu > sched->max_cpu.cpu) in perf_timehist__process_sample()
[all …]
/tools/perf/arch/x86/tests/
Dintel-pt-test.c438 int max_cpu = cpu__max_cpu().cpu; in test__intel_pt_hybrid_compat() local
452 for (cpu = 1, last_caps = caps0; cpu < max_cpu; cpu++) { in test__intel_pt_hybrid_compat()
/tools/perf/util/
Dsynthetic-events.c1223 int max_cpu; member
1245 data->data->mask32_data.nr = BITS_TO_U32(data->max_cpu); in synthesize_mask()
1261 data->data->range_cpu_data.end_cpu = data->max_cpu; in synthesize_range_cpus()
1273 syn_data->max_cpu = perf_cpu_map__max(syn_data->map).cpu; in cpu_map_data__alloc()
1274 if (syn_data->max_cpu - syn_data->min_cpu + 1 == syn_data->nr - syn_data->has_any_cpu) { in cpu_map_data__alloc()
1285 BITS_TO_U32(syn_data->max_cpu) * sizeof(__u32); in cpu_map_data__alloc()