Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-04-07 05:34:47


Jens,

>Note that the current timer.cpp measures CPU time which is different
from wall clock time. For timer.hpp, I think measuring CPU time is
quite useful.
<

I'm not arguing with you, the problem I have is that under Win32 the
resolution offered by the clock() function is awfully low - far too low to
be useful for measuring CPU time IMO. That leaves either using rdtsc
(which isn't universally available), or using the performance counters, if
anyone has a means of reliably measuring CPU/process time under Win32 then
I'd love to hear of it.

- John


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk