]> granicus.if.org Git - sysstat/commit
mpstat: Compute global CPU stats as the sum of individual ones
authorSebastien GODARD <sysstat@users.noreply.github.com>
Thu, 22 Mar 2018 12:53:21 +0000 (13:53 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Thu, 22 Mar 2018 12:53:21 +0000 (13:53 +0100)
commitf7842e652690351d52993b8a03c95a93ef849862
tree2a6d4f426ad7bb719ea2c3191e682f0de324637a
parent0013a9f11da34591af715e14e4f1c2c2d4914137
mpstat: Compute global CPU stats as the sum of individual ones

Don't use global CPU statistics from the /proc/stat file any more.
Now compute them as the sum of each individual CPU.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
mpstat.c