Re: [PATCH 3/8] score: Add potpourri lock statistics

2015-07-25 Thread Sebastian Huber
- Gedare Bloom schrieb: > All of the external lock objects will re-use the same lock statistics > struct? Is there any reason to separate the stats more? At least in > terms of the locks provided in RTEMS, you could create an array of the > Potpourri_stats and assign the known usages into the

Re: [PATCH 3/8] score: Add potpourri lock statistics

2015-07-24 Thread Gedare Bloom
All of the external lock objects will re-use the same lock statistics struct? Is there any reason to separate the stats more? At least in terms of the locks provided in RTEMS, you could create an array of the Potpourri_stats and assign the known usages into the array, with a catch-all at offset zer

[PATCH 3/8] score: Add potpourri lock statistics

2015-07-23 Thread Sebastian Huber
These SMP lock statistics are used for all lock objects that lack a storage space for the statistics. Examples are lock objects used in external libraries which are independent of the actual RTEMS build configuration. --- cpukit/score/include/rtems/score/thread.h | 12 cpukit/score/s