summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-10 20:23:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-10 20:23:22 +0000
commitba3e987eaadb63a5949322d81171148b88cc6544 (patch)
treeeefecd900c63ef52d3d240b4cc91d21bed7f1177 /cpukit/rtems
parent2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ba3e987eaadb63a5949322d81171148b88cc6544.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.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/ratemonperiod.c2
1 files changed, 1 insertions, 1 deletions
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 );