Searched refs:total_delta_time (Results 1 – 2 of 2) sorted by relevance
/system/extras/cpustats/ |
D | cpustats.c | 312 long int total_delta_time; in print_cpu_stats() local 315 total_delta_time = get_cpu_total_time(new_cpu) - get_cpu_total_time(old_cpu); in print_cpu_stats() 325 total_delta_time); in print_cpu_stats() 347 long int delta_time, total_delta_time; in print_freq_stats() local 352 total_delta_time = 0; in print_freq_stats() 356 total_delta_time += delta_time; in print_freq_stats() 364 printf("%ld\n", total_delta_time); in print_freq_stats()
|
/system/core/toolbox/ |
D | top.c | 411 long unsigned total_delta_time; in print_procs() local 431 total_delta_time = (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime in print_procs() 440 … ((new_cpu.utime + new_cpu.ntime) - (old_cpu.utime + old_cpu.ntime)) * 100 / total_delta_time, in print_procs() 441 ((new_cpu.stime ) - (old_cpu.stime)) * 100 / total_delta_time, in print_procs() 442 ((new_cpu.iowtime) - (old_cpu.iowtime)) * 100 / total_delta_time, in print_procs() 444 - (old_cpu.irqtime + old_cpu.sirqtime)) * 100 / total_delta_time); in print_procs() 453 total_delta_time); in print_procs() 480 …dK %3s %-8.8s %s\n", proc->pid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state,… in print_procs() 483 …15s %s\n", proc->pid, proc->tid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, in print_procs()
|