[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: time measurement
- From: Doug Currie <doug.currie@...>
- Date: Fri, 31 Dec 2010 12:02:15 -0500
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.