lua-users home
lua-l archive

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

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.