Re: CPU utilization

2018-07-13 Thread Gedare Bloom
On Thu, Jul 12, 2018 at 3:49 PM, Mathew Benson wrote: > I like this idea. I signed up for the mailing list. I'll try to submit > something in the next few days. Thanks. > > On Thu, Jul 12, 2018 at 12:56 PM, Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> - Am 12. Jul 20

Re: CPU utilization

2018-07-12 Thread Mathew Benson
I like this idea. I signed up for the mailing list. I'll try to submit something in the next few days. Thanks. On Thu, Jul 12, 2018 at 12:56 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > - Am 12. Jul 2018 um 19:48 schrieb Mathew Benson > mathew.ben...@gmail.com: > > >

Re: CPU utilization

2018-07-12 Thread Sebastian Huber
- Am 12. Jul 2018 um 19:48 schrieb Mathew Benson mathew.ben...@gmail.com: > I assume symbols prefixed with "_" are to be considered part of the private > API. What are the guidelines and legalities, if any, of bringing in these > private symbols into our own code? Functions, variables, and s

Re: CPU utilization

2018-07-12 Thread Mathew Benson
; uint64_t cpuUsageInUs = > (_Timestamp_Get_seconds(&timeRan) * *static_cast*(100)) + > (_Timestamp_Get_nanoseconds(&timeRan) / *static_cast*(1000)); > > > > > *return* cpuUsageInUs; > > > } >

Re: CPU utilization

2018-07-12 Thread Joel Sherrill
On Tue, Jul 10, 2018 at 2:30 PM, Mathew Benson 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_