measuring 1/100th seconds, what function?
roy at panix.com
Thu Aug 12 18:39:00 CEST 2004
In article <87657ojp2l.fsf at uwo.ca>, Dan Christensen <jdc at uwo.ca> wrote:
> Roy Smith <roy at panix.com> writes:
> > Tim Peters <tim.peters at gmail.com> wrote:
> >> Note that on a box connected to a network time-correction
> >> service, time.time can appear to "run backwards" briefly at
> >> unpredictable times.
> > This will never happen if you're running NTP. NTP does gradual
> > adjustments to the clock rate to ensure that the system clock is always
> > monotonically increasing.
> ntp only works well if your clock rate is very consistent. On all of
> the laptops I've used, I get frequent adjustments:
> Aug 6 20:30:45 localhost ntpd: time reset -0.472600 s
> Aug 5 22:04:57 localhost ntpd: time reset +0.670974 s
> Aug 5 22:34:06 localhost ntpd: time reset +0.884625 s
> Aug 5 23:13:54 localhost ntpd: time reset -0.376758 s
> I don't see any reason in principle ntp couldn't allow a greater
> offset between the local machine and the servers, and use gradual
> adjustments in this case. But it doesn't.
I stand corrected. Thank you.
More information about the Python-list