lua-users home
lua-l archive

Re: os.clock() always return 0 on Archlinux (a Linode instance)

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


On 2011年9月27日 12:14:31 -0700, David Given <dg@cowlark.com> wrote:
Just out of interest, has anyone used os.clock() for *anything*, ever?
(Not counting Windows systems where it's equivalent to os.time().)
Just tested this on Windows 7:
lua -e "print(os.clock(), os.time())"
0.001 1317333733
Is there another version where they're equivalent?

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