Home
last modified time | relevance | path

Searched refs:total_delta_time (Results 1 – 2 of 2) sorted by relevance

/system/extras/cpustats/
Dcpustats.c313 long int total_delta_time; in print_cpu_stats() local
316 total_delta_time = get_cpu_total_time(new_cpu) - get_cpu_total_time(old_cpu); in print_cpu_stats()
326 total_delta_time); in print_cpu_stats()
348 long int delta_time, total_delta_time; in print_freq_stats() local
353 total_delta_time = 0; in print_freq_stats()
357 total_delta_time += delta_time; in print_freq_stats()
365 printf("%ld\n", total_delta_time); in print_freq_stats()
/system/core/toolbox/
Dtop.c418 long unsigned total_delta_time; in print_procs() local
436 total_delta_time = (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime in print_procs()
445 … ((new_cpu.utime + new_cpu.ntime) - (old_cpu.utime + old_cpu.ntime)) * 100 / total_delta_time, in print_procs()
446 ((new_cpu.stime ) - (old_cpu.stime)) * 100 / total_delta_time, in print_procs()
447 ((new_cpu.iowtime) - (old_cpu.iowtime)) * 100 / total_delta_time, in print_procs()
449 - (old_cpu.irqtime + old_cpu.sirqtime)) * 100 / total_delta_time); in print_procs()
458 total_delta_time); in print_procs()
479 … proc->pid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads, in print_procs()
483 … proc->pid, proc->tid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, in print_procs()