Searched refs:this_cpu (Results 1 – 4 of 4) sorted by relevance
133 int this_cpu; in cpuidle_register() local135 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()
1401 int i, this_cpu = sample->cpu; in map_switch_event() local1406 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 …]
1203 int this_cpu; in worker_thread() local1212 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread()1213 if (this_cpu < g->p.nr_cpus/2) in worker_thread()
1725 int this_cpu; in get_cpu_position_in_core() local1739 fscanf(filep, "%d", &this_cpu); in get_cpu_position_in_core()1740 if (this_cpu == cpu) { in get_cpu_position_in_core()