CPU utilization

Joel Sherrill 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
> 832-640-4018
> www.windhoverlabs.com
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180712/7342905c/attachment-0002.html>

More information about the users mailing list