[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: time measurement
- From: Rob Kendrick <rjek@...>
- Date: Sat, 1 Jan 2011 17:43:50 +0000
On Sat, Jan 01, 2011 at 04:53:00PM +0100, Patrick Rapin wrote:
> > os.clock() returns the processor time your application ran.
>
> This is true on Linux and probably on MacOS.
> On Windows, it returns the total time the application has been running
> (including idle/system time).
Which is a bug in Windows, which hasn't been fixed in order to maintain
compatability with DOS, where the two concepts are one and the same.
B.