The actual answer to the question is straightforward - can be calculated from the first line of the top Android exit
User 5%, system 15%, IOW 0%, IRQ 0%
Total = total interest = 5 + 15 = 20%
Another answer about the second line is so wrong. The second line actually provides the scheduler time spent in this particular state: user / sys / idle / iow in jiffies (usually 10 ms) between one output of the top and next output from the top - in the case of OP top -d 1 - which prints usage every second - the total number of jiffies per core will be ~ 100 (assuming 10ms per jiffy) - this will look like percentage values.
User 5 + Nice 0 + Sys 14 + Idle 73 + IOW 0 + IRQ 0 + SIRQ 0 = 92
While the values will be greater if -d higher or if there is more than one kernel
User 21 + Nice 0 + Sys 16 + Idle 270 + IOW 0 + IRQ 3 + SIRQ 0 = 310
This probably doesn't have the -d , so top accepts a default delay of 3 seconds = 300 jiffies.
Refer to the AOSP top sourcecode for a complete logic for calculating each value.
ivoid
source share