<p dir="ltr"></p>
<p dir="ltr">On Aug 17, 2016 10:56 AM, "Gedare Bloom" <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
><br>
> RTEMS has a CPU statistics API:<br>
> <a href="https://docs.rtems.org/doc-current/share/rtems/html/c_user/CPU-Usage-Statistics.html#CPU-Usage-Statistics">https://docs.rtems.org/doc-current/share/rtems/html/c_user/CPU-Usage-Statistics.html#CPU-Usage-Statistics</a><br>
><br>
> I don't know if there is one for memory statistics. I believe the CPU<br>
> stats gives per-thread (task) data, and if you use periodic tasks you<br>
> can also get the rate monotonic stats.</p>
<p dir="ltr">There is a call to get memory allocation information and you can do it and the cpu usage from the shell.</p>
<p dir="ltr">Those memory numbers just show program memory use via malloc. </p>
<p dir="ltr">As with all statistics, we need more info to be helpful<br></p>
<p dir="ltr">> Gedare<br>
><br>
> On Wed, Aug 17, 2016 at 10:29 AM, Babacar Diop <<a href="mailto:bdiopxv@gmail.com">bdiopxv@gmail.com</a>> wrote:<br>
> > With standard OS, I mean OS, I mean UNIX/Linux OS ...<br>
> > About the performances, I would like to check for example the CPU usage,<br>
> > Memory utilization, threads ... in real-time. Thus I would like to include<br>
> > those functions or program calls into my program<br>
> ><br>
> > 2016-08-17 16:15 GMT+02:00 Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>>:<br>
> >><br>
> >> Could you elaborate what you mean by "standard OS"? What kind of<br>
> >> performance are you interested in?<br>
> >><br>
> >> On Wed, Aug 17, 2016 at 9:13 AM, Babacar Diop <<a href="mailto:bdiopxv@gmail.com">bdiopxv@gmail.com</a>> wrote:<br>
> >> > Dear Devels,<br>
> >> ><br>
> >> > I would like to test the performance of my program running on RTEMS vs<br>
> >> > standard OS. Thus I need to monitor in real-time the performances. Is it<br>
> >> > yield with the API ?<br>
> >> ><br>
> >> > If so, do you have any idea on how to do it ?<br>
> >> ><br>
> >> > Any help would be great !!!<br>
> >> ><br>
> >> > Kind Regards !<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > ------------------------------------------------------------------------------------------------------------------------<br>
> >> ><br>
> >> > Babacar Diop<br>
> >> > 23 ans<br>
> >> > Élève ingénieur à Polytech' Paris-UPMC<br>
> >> > Section Électronique, Informatique des Systèmes Embarqués<br>
> >> > Année 5<br>
> >> ><br>
> >> ><br>
> >> > _______________________________________________<br>
> >> > devel mailing list<br>
> >> > <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> >> > <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > ------------------------------------------------------------------------------------------------------------------------<br>
> ><br>
> > Babacar Diop<br>
> > 23 ans<br>
> > Élève ingénieur à Polytech' Paris-UPMC<br>
> > Section Électronique, Informatique des Systèmes Embarqués<br>
> > Année 5<br>
> ><br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a><br></p>