time.clock() going backwards??

Fredrik Lundh fredrik at pythonware.com
Mon Aug 28 11:52:43 EDT 2006


Claudio Grondi wrote:

> If it were so, than why can't the delta of time between the processors 
> be set to exact zero?

someone just wrote:

>>>> This was a change from previous systems.  On NT4 and Win2000, the
>>>> operating actually rewrote the cycle counters on the second (and
>>>> beyond) processors to align them to the first processor, so the delta
>>>> was usually only a dozen or two cycles.  XP does not appear to do
>>>> that.  I think that is a huge mistake, since it renders
>>>> QueryPerformanceCounter non-monotonic. 

so if you really want to know, you may have to ask microsoft.

</F>




More information about the Python-list mailing list