time.clock() going backwards??

Grant Edwards grante at visi.com
Mon Aug 28 11:49:57 EDT 2006


On 2006-08-28, Claudio Grondi <claudio.grondi at freenet.de> wrote:

>> I don't see any claim above that they run at different speeds, only 
>> that the counters are several million cycles apart, IOW running at the 
>> same speed but with different initial values, or more likely starting 
>> at different times. 
>> 
>> For processors that run at (say) 2GHz, several million (say 10 million) 
>> represents a difference of 10e6/2e9 = 0.005 seconds between when the 
>> processors were sufficiently powered up to start counting cycles.

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

This is 

> I assume, that it is known how many cycles adjusting the value will 
> take, so it could be done exactly ... hmmm ...
>
> Claudio Grondi


-- 
Grant Edwards                   grante             Yow!  LIFE is a
                                  at               never-ending INFORMERCIAL!
                               visi.com            



More information about the Python-list mailing list