[PATCH 06/11] score: Add SMP lock profiling support

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 11 08:18:28 UTC 2014


On 2014-03-10 17:26, Gedare Bloom wrote:
>> @@ -76,6 +77,64 @@ static void per_cpu_stats_iterate(
>> >  #endif
>> >  }
>> >
>> >+#ifdef RTEMS_PROFILING
>> >+RTEMS_STATIC_ASSERT(
>> >+  RTEMS_PROFILING_SMP_LOCK_CONTENTION_COUNTS
>> >+    == SMP_LOCK_STATS_CONTENTION_COUNTS,
>> >+  smp_lock_contention_counts
>> >+);
> Is the requirement these two CPP macros be equal documented somewhere?
>

Yes, here in this place.  Currently <rtems/profling.h> depends only on 
<stdint.h>.  I would like to hide all implementation details from the API.

-- 
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 devel mailing list