[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LuaProfiler on Windows
- From: Matt Campbell <mattc@...>
- Date: Fri, 03 Mar 2006 14:43:05 -0600
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"