Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-sched.c1350 int cpu, this_cpu = sample->cpu; in map_switch_event() local
1352 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1354 if (this_cpu > sched->max_cpu) in map_switch_event()
1355 sched->max_cpu = this_cpu; in map_switch_event()
1357 timestamp0 = sched->cpu_last_switched[this_cpu]; in map_switch_event()
1358 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()
1373 sched->curr_thread[this_cpu] = thread__get(sched_in); in map_switch_event()
1404 if (cpu != this_cpu) in map_switch_event()
1434 int this_cpu = sample->cpu, err = 0; in process_sched_switch_event() local
1438 if (sched->curr_pid[this_cpu] != (u32)-1) { in process_sched_switch_event()
[all …]
/tools/perf/bench/
Dnuma.c1206 int this_cpu; in worker_thread() local
1215 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread()
1216 if (this_cpu < g->p.nr_cpus/2) in worker_thread()
/tools/power/x86/turbostat/
Dturbostat.c1517 int this_cpu; in get_cpu_position_in_core() local
1531 fscanf(filep, "%d", &this_cpu); in get_cpu_position_in_core()
1532 if (this_cpu == cpu) { in get_cpu_position_in_core()