CPU Usage and Performance Monitoring on RTEMS-libbsd

Gedare Bloom gedare at rtems.org
Wed Aug 17 14:46:15 UTC 2016


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.

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
>



More information about the users mailing list