Subject: Re: why times are often off by up to a second
To: Dennis Ferguson <dennis@juniper.net>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 02/25/1999 10:23:39
On Wed, Feb 24, 1999 at 10:32:43AM -0800, Dennis Ferguson wrote:
> > I've been thinking about a bunch of ways to fix this nit, but most of
> > them involve spinning for up to one second, which isn't really a good
> > idea. I was therefore wondering if people on tech-kern had any
> > opinions on the "correct" method.
>
> When you do a resettodr() does the fractional seconds counter in the tod
> clock get reset (i.e. the next increment is precisely one second from
> when you set it), or does that increment come some random interval between
> 0 and 1 seconds later? If the former, you could get some precision by
All of this depends on the specific hardware. E.g., the DraCo clock has
1/256 second resolution, but currently we only use full seconds of it (this
should be fixed), while the Amiga clocks have true 1-second resolution.
-is