On Tue, Jul 10, 2018 at 2:30 PM, Mathew Benson <mben...@windhoverlabs.com>
wrote:

> 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
an
API to get the stack usage.

Proposals and code welcomed. :)

--joel


>
> --
> *Mathew Benson*
> CEO | Chief Engineer
> Windhover Labs, LLC
> 832-640-4018
>
>
> www.windhoverlabs.com
>
>
> _______________________________________________
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to