Re: time in milliseconds by calling time.time()

2009-07-24 Thread Steven D'Aprano
On Sat, 25 Jul 2009 07:47:14 +0200, Andre Engels wrote: > On Sat, Jul 25, 2009 at 3:27 AM, Roy Smith wrote: > >> Keep in mind that while a float may have a large apparent precision, >> there's no promise that the actual value returned by the OS has that >> much precision.  You should be fine if a

Re: time in milliseconds by calling time.time()

2009-07-24 Thread Andre Engels
On Sat, Jul 25, 2009 at 3:27 AM, Roy Smith wrote: > Keep in mind that while a float may have a large apparent precision, > there's no promise that the actual value returned by the OS has that much > precision.  You should be fine if all you're looking for is ms, but I > wouldn't count on much more

Re: time in milliseconds by calling time.time()

2009-07-24 Thread Roy Smith
In article <9c600f0c-f4a0-4e8c-bbb9-27f128aec...@m7g2000prd.googlegroups.com>, "scriptlear...@gmail.com" wrote: > I am trying to measure some system response time by using the time.time > () or time.clock() in my script. However, the numbers I get are in > 10s of milliseconds. > [...] > The tr

time in milliseconds by calling time.time()

2009-07-24 Thread scriptlear...@gmail.com
I am trying to measure some system response time by using the time.time () or time.clock() in my script. However, the numbers I get are in 10s of milliseconds. For example, 1248481670.34 #from time.time() 0.08 #from time.clock() That won't work for me, since the response time