diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-10 20:23:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-10 20:23:09 +0000 |
commit | 7af806ac22ad214b80065a6d41afdf289bafeb14 (patch) | |
tree | f251704ccd3ee80a4d484dfe8a1b6f0f30390cf6 | |
parent | Upgrade to automake-1.10.3 (diff) | |
download | rtems-7af806ac22ad214b80065a6d41afdf289bafeb14.tar.bz2 |
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.
-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 30913d39e2..58824cc8e2 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-07 Cindy Cicalese <cicalese@mitre.org> PR 1477/cpukit diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c index e59a8a2c62..4ce1cab7f6 100644 --- a/cpukit/rtems/src/ratemonperiod.c +++ b/cpukit/rtems/src/ratemonperiod.c @@ -334,7 +334,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 ); |