lua-users home
lua-l archive

Re: Lua for Time Travel (!)

[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.

AltStyle によって変換されたページ (->オリジナル) /