On 26/06/15 09:07, Chris Johns wrote:
>
>>
>>I looked into adding some SMP stats to top not long ago I found there
>>was nothing I report on unless profiling was on and if I turned on
>>profiling I got too much such as timing and other nice features.
>>
>>I could not see how to show how many context switches each core had, how
>>many interrupts each core serviced.
>
>We can enable such things individually.
>
Then may I suggest we default them to always so code that references
these values can avoid the condition compile options to get at them.
There is no conditional stuff in the user API <rtems/profiling.h>. You
just get zero values or nothing at all.
--
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.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel