lua-users home
lua-l archive

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


steve donovan wrote:
> os.clock() is what you need - it's seconds since Lua started as a
> floating-point number.

os.clock() uses clock() from time.h which returns used processor time,
not time since Lua started.