RTEMS | cpukit/libmisc: reformat cpuuse (!1020)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Feb 5 00:39:07 UTC 2026




Gedare Bloom commented on a discussion on cpukit/libmisc/cpuuse/cpuusagetop.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1020#note_141490

 > -  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 tweaked the comments slightly.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1020#note_141490
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/20260205/1c5c74bc/attachment-0001.htm>


More information about the bugs mailing list