RTEMS | cpukit/libmisc: reformat cpuuse (!1020)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Feb 4 19:06:49 UTC 2026
Gedare Bloom started a new discussion on cpukit/libmisc/cpuuse/cpuusagetop.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1020#note_141182
> - 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. */
I think the alignment break here is due to the trailing comment. We could shorten the comment, or just accept that it causes realignment.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1020#note_141182
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/d44aff5b/attachment-0001.htm>
More information about the bugs
mailing list