CPU Usage and Performance Monitoring on RTEMS-libbsd

Joel Sherrill joel at rtems.org
Wed Aug 17 19:55:01 UTC 2016


On Aug 17, 2016 10:56 AM, "Gedare Bloom" <gedare at rtems.org> wrote:
>
> RTEMS has a CPU statistics API:
>
https://docs.rtems.org/doc-current/share/rtems/html/c_user/CPU-Usage-Statistics.html#CPU-Usage-Statistics
>
> I don't know if there is one for memory statistics. I believe the CPU
> stats gives per-thread (task) data, and if you use periodic tasks you
> can also get the rate monotonic stats.

There is a call to get memory allocation information and you can do it and
the cpu usage from the shell.

Those memory numbers just show program memory use via malloc.

As with all statistics, we need more info to be helpful

> Gedare
>
> On Wed, Aug 17, 2016 at 10:29 AM, Babacar Diop <bdiopxv at gmail.com> wrote:
> > With standard OS, I mean OS, I mean UNIX/Linux OS ...
> > About the performances, I would like to check for example the CPU usage,
> > Memory utilization, threads ... in real-time. Thus I would like to
include
> > those functions or program calls into my program
> >
> > 2016-08-17 16:15 GMT+02:00 Gedare Bloom <gedare at rtems.org>:
> >>
> >> Could you elaborate what you mean by "standard OS"? What kind of
> >> performance are you interested in?
> >>
> >> On Wed, Aug 17, 2016 at 9:13 AM, Babacar Diop <bdiopxv at gmail.com>
wrote:
> >> > Dear Devels,
> >> >
> >> > I would like to test the performance of my program running on RTEMS
vs
> >> > standard OS. Thus I need to monitor in real-time the performances.
Is it
> >> > yield with the API ?
> >> >
> >> > If so, do you have any idea on how to do it ?
> >> >
> >> > Any help would be great !!!
> >> >
> >> > Kind Regards !
> >> >
> >> >
> >> >
> >> >
------------------------------------------------------------------------------------------------------------------------
> >> >
> >> > Babacar Diop
> >> > 23 ans
> >> > Élève ingénieur à Polytech' Paris-UPMC
> >> > Section Électronique, Informatique des Systèmes Embarqués
> >> > Année 5
> >> >
> >> >
> >> > _______________________________________________
> >> > devel mailing list
> >> > devel at rtems.org
> >> > http://lists.rtems.org/mailman/listinfo/devel
> >
> >
> >
> >
> > --
> >
------------------------------------------------------------------------------------------------------------------------
> >
> > Babacar Diop
> > 23 ans
> > Élève ingénieur à Polytech' Paris-UPMC
> > Section Électronique, Informatique des Systèmes Embarqués
> > Année 5
> >
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160817/92a5158b/attachment-0002.html>


More information about the users mailing list