AW: How to get CPU usage report in binary form to a user-variable ?

Rolf.Schroedter at dlr.de Rolf.Schroedter at dlr.de
Wed Nov 23 10:26:25 UTC 2016


Hello Sebastian,
thank you for your quick reply.

I am thinking about to write such a little function based on the rtems_cpu_usage_report() source
at application level.
(We do not want to recompile the complete RTEMS).

Do you think this will be possible ?
Will I have access to all information , or is it hidden ?

Best regards,
Rolf

> -----Ursprüngliche Nachricht-----
> Von: Sebastian Huber [mailto:sebastian.huber at embedded-brains.de]
> Gesendet: Mittwoch, 23. November 2016 11:10
> An: Schrödter, Rolf; users at rtems.org
> Betreff: Re: How to get CPU usage report in binary form to a user-variable ?
> 
> Hello,
> 
> this is currently not covered by the user API. We would have to change
> the CPU usage report to provide binary data and then add a consumer
> which prints the information as a specialization. Something like
> rtems_profiling_iterate() and rtems_profiling_report_xml().
> 
> On 23/11/16 10:58, Rolf.Schroedter at dlr.de wrote:
> >
> > Hello,
> >
> > I am aware of the function
> >
> >     rtems_cpu_usage_report()
> >
> > printing the CPU usage to console.
> >
> > However is it possible to get the same information into a
> > user-variable (e.g. a structure/array) ?
> >
> > We would like to have this information in a binary form for further
> > processing and/or sending this data to telemetry.
> >
> > Thanks and regards,
> >
> > Rolf.
> >
> >
> >
> > _______________________________________________
> > users mailing list
> > users at rtems.org
> > http://lists.rtems.org/mailman/listinfo/users
> 
> --
> Sebastian Huber, embedded brains GmbH
> 
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list