Searched refs:new_cpu (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
D | top.c | 86 static struct cpu_info old_cpu[10], new_cpu[10]; //1 total, 8 cores, 1 null variable 512 for (k = 1; new_cpu[k].total; k++) { in print_header() 519 total = (new_cpu[k].total) - (old_cpu[k].total); in print_header() 522 show_percent((new_cpu[k].utime - old_cpu[k].utime), total)); in print_header() 524 show_percent((new_cpu[k].stime - old_cpu[k].stime), total)); in print_header() 526 show_percent(new_cpu[k].ntime - old_cpu[k].ntime, total)); in print_header() 528 show_percent(new_cpu[k].itime - old_cpu[k].itime, total)); in print_header() 530 show_percent((new_cpu[k].iowtime - old_cpu[k].iowtime), total)); in print_header() 532 show_percent(new_cpu[k].irqtime - old_cpu[k].irqtime, total)); in print_header() 534 show_percent(new_cpu[k].sirqtime - old_cpu[k].sirqtime, total)); in print_header() [all …]
|
/external/linux-tools-perf/src/tools/perf/scripts/python/ |
D | sched-migration.py | 189 def migrate(self, ts_list, new, old_cpu, new_cpu): argument 190 if old_cpu == new_cpu: 197 new_rq = self.prev.rqs[new_cpu] 199 self.rqs[new_cpu] = in_rq 206 self.event_cpus.append(new_cpu)
|