Home
last modified time | relevance | path

Searched refs:this_cpu (Results 1 – 4 of 4) sorted by relevance

/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c133 int this_cpu; in cpuidle_register() local
135 this_cpu = sched_getcpu(); in cpuidle_register()
138 cpuidle_sysfs_monitor.hw_states_num = cpuidle_state_count(this_cpu); in cpuidle_register()
144 tmp = cpuidle_state_name(this_cpu, num); in cpuidle_register()
152 tmp = cpuidle_state_desc(this_cpu, num); in cpuidle_register()
/tools/perf/
Dbuiltin-sched.c1401 int i, this_cpu = sample->cpu; in map_switch_event() local
1406 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1408 if (this_cpu > sched->max_cpu) in map_switch_event()
1409 sched->max_cpu = this_cpu; in map_switch_event()
1413 if (!test_and_set_bit(this_cpu, sched->map.comp_cpus_mask)) { in map_switch_event()
1414 sched->map.comp_cpus[cpus_nr++] = this_cpu; in map_switch_event()
1420 timestamp0 = sched->cpu_last_switched[this_cpu]; in map_switch_event()
1421 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()
1436 sched->curr_thread[this_cpu] = thread__get(sched_in); in map_switch_event()
1481 if (cpu != this_cpu) in map_switch_event()
[all …]
/tools/perf/bench/
Dnuma.c1203 int this_cpu; in worker_thread() local
1212 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread()
1213 if (this_cpu < g->p.nr_cpus/2) in worker_thread()
/tools/power/x86/turbostat/
Dturbostat.c1725 int this_cpu; in get_cpu_position_in_core() local
1739 fscanf(filep, "%d", &this_cpu); in get_cpu_position_in_core()
1740 if (this_cpu == cpu) { in get_cpu_position_in_core()