[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clock troubles



On Thursday 12 May 2005 23:59, Glenn English wrote:
> I don't understand how this can happen. My experience with digital
> electronics says that things almost never work half-way; they're fine,
> or they're dead. Anybody know what the system clock actually is? A
> counter counting the line frequency?? A divider off the CPU clock?

Most digital clocks use a quartz crystal, which, as I understand it, 
physically oscillates at a very specific frequency when a charge is applied.  
I'd guess the hardware clock uses something like that.

Not sure on the system clock, but yes, I'd guess it's just based on cycles, 
which then trigger an interrupt.

Anyway... if ntpdate etc. don't fix things to your satisfaction, look into 
adjtimex, which can work out your clock drift and correct for it.  I was 
under the impression that ntp was pretty good at this stuff, though.

-- 
Lee.

Please send replies to the list, not to my email address.



Reply to: