TOD clock synchronization with NTP

Aaron J. Grier aaron at frye.com
Tue Nov 4 22:23:54 UTC 2003


On Tue, Nov 04, 2003 at 10:59:52PM +0100, Thomas Doerfler wrote:
> Just another idea: I came over a similar issue during several BSP
> ports: currently RTEMS can only be used easily together with hardware
> timers, that are based on an input clock of a microsecond or and
> integer fraction of microseconds, because this is the base unit the
> system tick is scaled. With these means to slowly adjust time slips,
> you might possibly also adjust the errors that come from timer running
> at odd input frequencies...

I hacked my local tree of 4.5.0 to carry a microseconds overflow per
tick in the TOD routines, since my clock tick is 9.984ms instead of the
more common 10ms.  I'm not sure how useful the patches would be for the
4.6.0 tree, but if anybody's interested I'll send them patches.

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at frye.com



More information about the users mailing list