forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
2009-12-07 Cindy Cicalese <cicalese@mitre.org>
|
||||||
|
|
||||||
PR 1477/cpukit
|
PR 1477/cpukit
|
||||||
|
|||||||
@@ -334,7 +334,7 @@ rtems_status_code rtems_rate_monotonic_period(
|
|||||||
/*
|
/*
|
||||||
* Update statistics from the concluding period
|
* Update statistics from the concluding period
|
||||||
*/
|
*/
|
||||||
_Rate_monotonic_Initiate_statistics( the_period );
|
_Rate_monotonic_Update_statistics( the_period );
|
||||||
|
|
||||||
_ISR_Enable( level );
|
_ISR_Enable( level );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user