[Python-Dev] time.clock() on windows

Kristján Valur Jónsson kristjan at ccpgames.com
Fri Oct 23 13:48:25 CEST 2009


Thanks, I'll take a look in that direction.

> -----Original Message-----
> From: Nick Coghlan [mailto:ncoghlan at gmail.com]
> I've even played with using Kalman filtering to do it... The idea is
> > to use the low frequency timer to apply correction coefficients to
> > the high frequency timer, yet keep the flow of time smooth (no
> > backwards jumps because of corrections.).  An optimal solution has so
> > far eluded me.
> 
> That sounds very similar to the problem spec for system time
> corrections
> in Network Time Protocol client implementations. Perhaps the time
> drifting algorithms in the NTP specs are relevant? Or are they too slow
> to correct discrepancies?

K


More information about the Python-Dev mailing list