lua-users home
lua-l archive

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


Hello:

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.

--
Matt Campbell
Lead Programmer
Serotek Corporation
www.freedombox.info
"The Accessibility Anywhere People"