RTEMS | cpukit/rtems: Add taskgetcpuusage.c directive (!1347)

Abdullah Wasiq (@aftwasiq) gitlab at rtems.org
Wed Jul 15 16:58:50 UTC 2026




Abdullah Wasiq commented on a discussion on cpukit/include/rtems/rtems/tasks.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1347#note_154512

 > + * @brief Returns CPU usage time for a specific task.
 > + *
 > + * @param id is the thread identifier.
 > + *
 > + * @param[out] ts is a pointer to a timestamp structure. When the directive
 > + *   call is successful, the CPU usage time used by the specified id will be
 > + *   stored here.
 > + *
 > + * This directive retrieves the cpu usage time under the specified id.
 > + *
 > + * @retval ::RTEMS_SUCCESSFUL The requested operation was successful.
 > + *
 > + * @retval ::RTEMS_INVALID_ID There was no task associated with the identifier
 > + *   specified by ``id``.
 > + *
 > + * @retval ::RTEMS_INVALID_ADDRESS The ``ts`` parameter was NULL.

Fixed

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1347#note_154512
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-e6hedft8wy5c16j6l5u2iya1y-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260715/16c6faf8/attachment-0001.htm>


More information about the bugs mailing list