RTEMS | cpukit/libmisc: reformat cpuuse (!1020)
Kinsey Moore (@opticron)
gitlab at rtems.org
Wed Feb 4 19:17:56 UTC 2026
Kinsey Moore commented on a discussion on cpukit/libmisc/cpuuse/cpuusagetop.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1020#note_141208
> - Timestamp_Control current_idle; /* Current time in idle this period. */
> - uint32_t stack_size; /* Size of stack allocated. */
> +typedef struct {
> + volatile bool thread_run;
> + volatile bool thread_active;
> + volatile bool single_page;
> + volatile uint32_t sort_order;
> + volatile uint32_t poll_rate_usecs;
> + volatile uint32_t show;
> + const rtems_printer *printer;
> + Timestamp_Control zero;
> + Timestamp_Control uptime;
> + Timestamp_Control last_uptime;
> + Timestamp_Control period;
> + uint32_t task_count; /* Number of tasks. */
> + uint32_t last_task_count; /* Number of tasks in the previous sample. */
It could be "Previous number of tasks", but I question the usefulness of either of those comments.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1020#note_141208
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/20260204/b5232c6b/attachment-0001.htm>
More information about the bugs
mailing list