diff options
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/rtems/src/ratemonperiod.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 743f26c62b..946978e81f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com> + + PR 1480/cpukit + * rtems/src/ratemonperiod.c: Use _Rate_monotonic_Update_statistics() + when period is expired, not _Rate_monotonic_Initiate_statistics(). + The cound of missed periods was never updated. + 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> * telnetd/pty.c: diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c index 0a0d526950..b32228953b 100644 --- a/cpukit/rtems/src/ratemonperiod.c +++ b/cpukit/rtems/src/ratemonperiod.c @@ -349,7 +349,7 @@ rtems_status_code rtems_rate_monotonic_period( /* * Update statistics from the concluding period */ - _Rate_monotonic_Initiate_statistics( the_period ); + _Rate_monotonic_Update_statistics( the_period ); _ISR_Enable( level ); |