change log for rtems (2011-05-26)
sebastian.huber at embedded-brains.de
Wed Sep 26 13:48:21 UTC 2012
On 09/26/2012 03:40 PM, Joel Sherrill wrote:
> On 09/26/2012 07:00 AM, Sebastian Huber wrote:
>> What has this change to do with SMP inter-process communications? Why do we
>> update _Thread_Time_of_last_context_switch in case
>> __RTEMS_USE_TICKS_FOR_STATISTICS__ is defined?
> At least I can explain this part of the change. There were technically
> two changes in that commit. They got merged into one and the comment
> doesn't reflect that.
> If you don't set the _Thread_Time_of_last_context_switch, then the
> statistics for rate monotonic periods are not completely right. You
> need to account for how long the current task has been running.
Ok, but then the rate-monotonic statistics do not honor the
__RTEMS_USE_TICKS_FOR_STATISTICS__. I currently don't have time to look at
this more detailed, but I think something is mixed up here.
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
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