Searched refs:old_cpu (Results 1 – 3 of 3) 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 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() 583 total_delta_time = new_cpu[0].total - old_cpu[0].total; in print_procs() [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: 192 old_rq = self.prev.rqs[old_cpu] 194 self.rqs[old_cpu] = out_rq 205 self.event_cpus.append(old_cpu)
|
/external/netperf/ |
D | netcpu_looper.c | 103 int old_cpu = -2; in bind_to_processor() local
|