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

Chris Johns (@chris) gitlab at rtems.org
Thu Jul 4 05:40:12 UTC 2024



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

Assignee: Chris Johns

## Summary

Add two calls to CPU usage in `cpukit/libmisc` to return the time in nano-seconds or the time as ticks to the caller.

The EPICS iocStats module has code that directly iterates over the object information. This change provides a simple interface to remove the dependence of the IOC module on the internals of RTEMS. The CPU usage code i `libmisc` has all the pieces in place to make this a simple addition.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5060
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/20240704/a4887c84/attachment.htm>


More information about the bugs mailing list