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
ax4w opened this issue Apr 10, 2024 · 1 comment
Open

Inaccurate readings of cpu.Percent #1623

ax4w opened this issue Apr 10, 2024 · 1 comment

Comments

@ax4w
Copy link

ax4w 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.

@Dylan-M
Copy link

Dylan-M commented Jun 10, 2024

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

What is "that" update? You didn't reference an update anywhere.

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

2 participants