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:
Joel Sherrill
2009-12-10 20:23:22 +00:00
parent c296687193
commit ba3e987eaa
2 changed files with 8 additions and 1 deletions

View File

@@ -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:

View File

@@ -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 );