[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaProfiler on Windows
- From: Doug Currie <doug.currie@...>
- Date: Fri, 3 Mar 2006 18:01:27 -0500
Friday, March 3, 2006, 3:43:05 PM, Matt Campbell wrote:
> I noticed that LuaProfiler uses the clock() function for timing by
> default. On Windows (at least with Microsoft Visual C++), a clock is
> one millisecond -- much less than on Linux and other Unix systems. Does
> this mean that function timing is significantly more distorted on
> Windows than on Linux, particularly for very fast functions that are
> called many times? If so, what can be done about this? Thanks.
http://msdn.microsoft.com/msdnmag/issues/04/03/HighResolutionTimer/default.aspx
e