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; > > > } >

RES: CPU utilization

2018-07-12 Thread Fabrício de Novaes Kucinskis
// if the rtemsId doesn’t exist... return 0; } } De: users [mailto:users-boun...@rtems.org] Em nome de Joel Sherrill Enviada em: quinta-feira, 12 de julho de 2018 11:37 Para: Mathew Benson Cc: RTEMS Assunto: Re: CPU

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 utiliz

CPU utilization

2018-07-10 Thread Mathew Benson
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