RTEMS | Add CPU Usage calls to return the time or ticks accounted for in tasks (#5060)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Jul 4 16:10:28 UTC 2024
Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5060#note_108678
Be sure to consider the behavior if the statistics are reset.
But grabbing a single thread's CPU usage should be ok.
If clock_gettime doesn't already support CLOCK_THREAD_CPUTIME_ID, please add it. That use case should match youra.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5060#note_108678
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/cdece8e9/attachment.htm>
More information about the bugs
mailing list