RTEMS | Add CPU Usage calls to return the time or ticks accounted for in tasks (#5060)

Chris Johns (@chris) gitlab at rtems.org
Fri Jul 5 06:10:52 UTC 2024




Chris Johns commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5060#note_108693


In an SMP system would the `IDLE` time reported as system time be the total of active periods for all the `iDLE` threads? I think it is.

For example if you have 4 CPUs and 2 are running at 100% and 2 are idle the over all load is 50%, ie `user / (user + system)` if user is the total time tasks have run for and system is the total idle time.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5060#note_108693
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240705/7842da8c/attachment.htm>


More information about the bugs mailing list