OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:total_delta_time
(Results
1 - 2
of
2
) sorted by null
/system/extras/cpustats/
cpustats.c
312
long int
total_delta_time
;
local
315
total_delta_time
= get_cpu_total_time(new_cpu) - get_cpu_total_time(old_cpu);
325
total_delta_time
);
347
long int delta_time,
total_delta_time
;
local
352
total_delta_time
= 0;
356
total_delta_time
+= delta_time;
364
printf("%ld\n",
total_delta_time
);
/system/core/toolbox/
top.c
411
long unsigned
total_delta_time
;
local
431
total_delta_time
= (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime
440
((new_cpu.utime + new_cpu.ntime) - (old_cpu.utime + old_cpu.ntime)) * 100 /
total_delta_time
,
441
((new_cpu.stime ) - (old_cpu.stime)) * 100 /
total_delta_time
,
442
((new_cpu.iowtime) - (old_cpu.iowtime)) * 100 /
total_delta_time
,
444
- (old_cpu.irqtime + old_cpu.sirqtime)) * 100 /
total_delta_time
);
453
total_delta_time
);
480
printf("%5d %2d %3ld%% %c %5d %6ldK %6ldK %3s %-8.8s %s\n", proc->pid, proc->prs, proc->delta_time * 100 /
total_delta_time
, proc->state, proc->num_threads,
483
printf("%5d %5d %2d %3ld%% %c %6ldK %6ldK %3s %-8.8s %-15s %s\n", proc->pid, proc->tid, proc->prs, proc->delta_time * 100 /
total_delta_time
, proc->state,
Completed in 31 milliseconds