Searched refs:total_delta_time (Results 1 – 2 of 2) sorted by relevance
/system/extras/cpustats/ |
D | cpustats.c | 319 long int total_delta_time; in print_cpu_stats() local 322 total_delta_time = get_cpu_total_time(new_cpu) - get_cpu_total_time(old_cpu); in print_cpu_stats() 332 total_delta_time); in print_cpu_stats() 354 long int delta_time, total_delta_time; in print_freq_stats() local 359 total_delta_time = 0; in print_freq_stats() 363 total_delta_time += delta_time; in print_freq_stats() 371 printf("%ld\n", total_delta_time); in print_freq_stats()
|
/system/core/toolbox/ |
D | top.c | 431 long unsigned total_delta_time; in print_procs() local 447 total_delta_time = (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime in print_procs() 456 … ((new_cpu.utime + new_cpu.ntime) - (old_cpu.utime + old_cpu.ntime)) * 100 / total_delta_time, in print_procs() 457 ((new_cpu.stime ) - (old_cpu.stime)) * 100 / total_delta_time, in print_procs() 458 ((new_cpu.iowtime) - (old_cpu.iowtime)) * 100 / total_delta_time, in print_procs() 460 - (old_cpu.irqtime + old_cpu.sirqtime)) * 100 / total_delta_time); in print_procs() 469 total_delta_time); in print_procs() 493 proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads, in print_procs() 499 proc->delta_time * 100 / total_delta_time, proc->state, in print_procs()
|