RTEMS | Add programmatic interface for data produced by cpuuse (!200)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Sep 9 18:48:31 UTC 2024




Kinsey Moore started a new discussion on cpukit/libmisc/cpuuse/cpuusagereport.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/200#note_111876

 > +    " 0x%08" PRIx32 " | %-38s |"
 > +      "%7" PRIu32 ".%06" PRIu32 " |%4" PRIu32 ".%03" PRIu32 "\n",
 > +    the_thread->Object.id,
 > +    name,
 > +    seconds, nanoseconds, 
 > +    ival, fval
 > +  );
 > +
 > +  return false;
 > +}
 > +
 > +
 > +bool cpu_usage_visitor(Thread_Control *the_thread, void *arg){
 > +
 > +
 > +cpu_usage_context *ctx;

The formatting here is incorrect. The opening brace should be on the next line and the variable declaration needs indentation.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/200#note_111876
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/20240909/438b0324/attachment-0001.htm>


More information about the bugs mailing list