Re: interpreting the fractional portion of time.clock() vs time.time(0 measurements

2006-02-22 Thread Peter Hansen
john peter wrote: > let's say i'm taking timing measurements in Windows XP > > t1 = time.clock() > ... > t2 = time.clock() > > t3 = t2 - t1 = say, 0.018 > what is the unit of measurement for t3? is it correct to say that t3 = > 18 milliseconds? > microsends? > > what if the timing function u

interpreting the fractional portion of time.clock() vs time.time(0 measurements

2006-02-22 Thread john peter
let's say i'm taking timing measurements in Windows XP   t1 = time.clock() ... t2 = time.clock()   t3 = t2 - t1 = say, 0.018 what is the unit of measurement for t3? is it correct to say that t3 = 18 milliseconds? microsends?   what if the timing function used for t1 and t2 was time.time()