RFC: Is BSP allowed to modify configuration values?
Aaron J. Grier
aaron at frye.com
Tue Oct 26 17:39:48 UTC 2004
On Tue, Oct 19, 2004 at 08:05:58PM +0200, Thomas Doerfler wrote:
> B) At runtime, accumulate the timing error generated and drop timer
> interrupt handling from time to time to get, in average, a correct
> advancement in time. The disadvantage here is, that the RTEMS tick no
> longer will advance at evenly spaced intervals
my hardware has a 9.984ms tick, instead of a more convenient 10ms tick.
I have a patch to RTEMS' time-of-day routines which basically carries a
rolling error (in microseconds) and either inserts or skips calls to the
time-of-day watchdog.
this has the nice effect of keeping a standard length tick without
losing wall-clock timekeeping.
--
Aaron J. Grier | Frye Electronics, Tigard, OR | aaron at frye.com
"Note that many bands' backline amps produce levels exceeding OSHA
standards for industrial facilities. Yet this is considered normal
working conditions for musicians. That's showbiz." -- Scott Dorsey
More information about the users
mailing list