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

Inaccurate readings of cpu.Percent #1623

Open
0x3alex opened this issue Apr 10, 2024 · 0 comments
Open

Inaccurate readings of cpu.Percent #1623

0x3alex opened this issue Apr 10, 2024 · 0 comments

Comments

@0x3alex
Copy link

0x3alex commented Apr 10, 2024

When running a stress test, which causes 100% CPU-Usage (read from the TaskManager) the cpu.Percent(0,false) call returns a much lower value with a 5-10% difference.

I am running Windows 10 Ver 10.0.19045.4170.

Before that update the values read from the task manager and the function call were equal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant