Sam Price commented on a discussion on cpukit/include/rtems/cpuuse.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/864#note_142781 > + /** > + * CPU time this thread has consumed since the last reset. Use together > with > + * @ref cpu_total to derive a percent. > + */ > + Timestamp_Control task_total; > + /** > + * Total system CPU time since the last CPU usage reset (all processors, > + * denominator for percent calculations). > + */ > + Timestamp_Control cpu_total; > +} rtems_cpu_usage_info; > + > +/** > + * @brief Populate CPU usage information for a specific thread. > + * > + * @retval ::RTEMS_SUCCESSFUL The CPU usage information was stored in @a > info. The codebase seems a mix of `@retval ::RTEMS_` and @retval RTEMS_` See https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/cpukit/include/rtems/rtems/intr.h?ref_type=heads#L1186 Documentation states `@retval RTEMS_` I will update. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/864#note_142781 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
