lua-users home
lua-l archive

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


The os.clock function uses the 'clock' system call. On that particular
system you refer to, `clock_t`, the return value of clock, is defined
as a 32-bit integer.

What you're seeing is that integer wrapping around due to overflow.