Binary CPU / Thread information.

Sam Price thesamprice at gmail.com
Wed Aug 10 15:03:59 UTC 2022


I saw that there was a console command to see cpu usage information.
https://docs.rtems.org/branches/master/c-user/cpu_usage_statistics.html

Is there a binary api to get this, and stack usage?
I want to get this info out and send it in binary packets.

Is this something that I need to just copy whats going on in this file?
cpukit/libmisc/cpuuse/cpuusagereport.c

https://github.com/RTEMS/rtems/blob/fab1a86221e057a93bb9c1423dac81ed2b29ecde/cpukit/libmisc/cpuuse/cpuusagereport.c#L60

or is there a c api out there that i am missing that fills usage
information into c structs?


-- 
Thank you,

Sam Price
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220810/5eb0c821/attachment-0001.htm>


More information about the devel mailing list