lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.