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
CPU load halfed after PR #40784 #41792
Comments
Investigating .... |
Alex, I've been trying to use ... |
|
I used |
I'm able to duplicate it now--also on qemu_x86. |
I found at least one issue related to the updating of the system's thread_runtime_stats.
Consequently, the system's execution cycles (sum of total_cycles and idle cycles) ultimately includes the idle cycles twice. |
Describe the bug
I noticed that the idle thread in simple samples like blinky is showing 49% cpu load. When checking out the commit just before the PR it shows 99% (as it should).
(#40784)
I've tested blinky for both nRF52840 and nRF5340, both show 49% CPU load for idle after PR, and 99% before the PR.
This PR was submitted by @peter-mitsis
The text was updated successfully, but these errors were encountered: