Question about rtems_cpu_usage_report

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Apr 27 05:55:55 UTC 2020


Hello Carmen,

On 24/04/2020 10:10, Carmen Pastor wrote:
> Hi All,
>
> I've a question for RTEMS 4.10. I'm using the function 
> rtems_cpu_usage_report() to get the CPU usage, and it is working well
> but now I need to process the data of the output report, so I would 
> like to get the report data in some kind of structure. I see the function
> rtems_cpu_usage_report_with_plugin() but I don't know how use it, 
> could someone of you give me an example?
unfortunately, the CPU usage report is not available in a structure. You 
could refactor the rtems_cpu_usage_report_with_plugin() function and add 
a variant which passes a structure with the CPU usage to a visitor 
function.


More information about the users mailing list