lua-users home
lua-l archive

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


On Dec 31, 2010, at 8:39 AM, J.Jørgen von Bargen wrote:

> Take a look at http://lua-users.org/wiki/HiResTimer
> There was a discussion about how to get a high resolution timer on Windows/Linux. Since MacOSX is pretty near Linux, maybe socket.gettime() could be your saviour.
> Regards, Jørgen
> PS: You could add your MacOSX-Results there to complete the comparison

socket.gettime() works fine on Mac OS X. I updated http://lua-users.org/wiki/HiResTimer to document it.

-- e