joel at rtems.org
Thu Jul 12 14:36:43 UTC 2018
On Tue, Jul 10, 2018 at 2:30 PM, Mathew Benson <mbenson at windhoverlabs.com>
> What would be the recommend way to read CPU utilization? Am I correct in
> saying, the best way would be to call rtems_cpu_usage_report_with_plugin()?
> Its ill advised to access the private symbols utilized by the
> rtems_cpu_usage_report_with_plugin() call directly, right? Is there
> another function that I can call to return a structure rather than parsing
> it with the rtems_printer plugin? I haven't dug into the rtems_printer
> object yet, but I'm assuming I could use it and parse a string sent to it.
Yes. You could use the printer_object passed in to parse it.
There isn't a call to get this information (yet) and similarly, there isn't
API to get the stack usage.
Proposals and code welcomed. :)
> *Mathew Benson*
> CEO | Chief Engineer
> Windhover Labs, LLC
> users mailing list
> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users