Subject: Re: port-i386/1835: Kernel compile dies in machdep.c if HZ is defined (i386)
To: Christoph Badura <firstname.lastname@example.org>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
Date: 12/16/1995 00:25:35
> Leo Weppelman wrote:
> >If the value of HZ you select cannot be made from the
> >crystal-freq. without rounding errors, the system time will be drifting.
> That's what the variables tickfix and tickfixcnt in kern_clock.c deal
"i'm not so sure about that."
tickfix can deal with cases where the number of milliseconds in a tick
isn't integral, but the number of microseconds is (or something like
that). That's what it was intended for.
If the clock doesn't divide a second into an integral number of
microseconds (or whatever), it won't work...
of course, the drift won't be too bad, either... 8-)