Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix improper calculation of CPU percentages #2123

Merged
merged 1 commit into from
Dec 5, 2016
Merged

Fix improper calculation of CPU percentages #2123

merged 1 commit into from
Dec 5, 2016

Commits on Dec 3, 2016

  1. Fix improper total of CPU times

    On linux, the cpu timer counters of user and nice include the respective guest and guest_nice counters. This results in improper calculation of percentages.
    
    Please see:
    https://github.com/torvalds/linux/blob/447976e/kernel/sched/cputime.c#L169
    https://lists.linuxfoundation.org/pipermail/virtualization/2009-August/013459.html
    giampaolo/psutil#940
    Foxlik committed Dec 3, 2016
    Configuration menu
    Copy the full SHA
    ff89f95 View commit details
    Browse the repository at this point in the history