Skip to content

top: Fix the sys usage rate of a single CPU may exceed 100%

Chao Liu requested to merge (removed):master into master

When cpus are taken offline or brought online, the delta of xtot might be smaller than the delta of system. It cuases the rSv (stat_SY) * scale calculated in the sum_tics function to be greater than 100.

Signed-off-by: SuperSix173 liuchao173@huawei.com

Merge request reports