From: Michael Walter (michael.walter_at_[hidden])
Date: 2005-02-11 22:15:16
On Fri, 11 Feb 2005 19:57:56 -0500, Preston A. Elder
> On Fri, 11 Feb 2005 19:30:36 -0500, christopher diggins wrote:
> std::clock() and I assume QueryPerformanceCounter() give you an amount of
> clock ticks. This number is only incremented when the CPU works on your
AFAIK your assumption is wrong.
The only problem with QueryPerformanceCounter() is that it can "jump"
on some chipsets. A good idea is to use a "control timer" with lower
frequency (or just timeBeginPeriod() + timeGetTime(), if its precision
is good enough for the task).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk