RTEMS | Return task and idle time with getrusage (#5062)

Chris Johns (@chris) gitlab at rtems.org
Mon Jul 8 05:25:51 UTC 2024



Chris Johns created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5062

Assignee: Chris Johns

Return the task and idle execution time via `getrusage()` call. User can use these times to determine the percentage load of the system and if they record the delta they current load.

Return the total amount of time executed by tasks (not `IDLE`) in the `utime` field and IDLE time in `stime` of `struct ruse`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5062
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/20240708/4e5b5fdc/attachment-0001.htm>


More information about the bugs mailing list