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

 >    uint32_t           nanoseconds;
 >  
 >    ctx = arg;
 > +  ctx->usage_function_pointer = print_usage_stats; 

This should be set in the calling function so that it can be changed out more 
easily. Once that is done, you'll need a way to pass it in. I'd recommend 
breaking out the core of the calling function (the section after the header is 
printed and before the footer is printed) into its own separate function so 
that usage_function_pointer can be provided.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/200#note_111877
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

Reply via email to