|
Boost : |
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2006-10-31 12:51:40
On 10/31/06, Philippe Vaucher <philippe.vaucher_at_[hidden]> wrote:
>
> At the moment my code offers :
>
> - microsec_timer, which uses boost::posix_time::microsec_clock which
> is itself based on GetSystemTime on windows and gettimeofday() on linux. I
> think that'd be the timer that most of the users should use.
> - second_timer, which uses boost::posix_time::second_clock, which I
> forgot what it was using.
> - qcp_timer, only available under windows, which uses
> QueryPerformanceCounter.
> - tgt_timer, only available under windows, which uses timeGetTime.
>
> And then I plan to add clock_timer which would use std::clock... about
> GetTickCount() I don't think it'd be worth adding it as it's the worse win32
> timer that exists.
>
> I'll give a shot to the nvidia timer test thing in the next days.
Thanks for all your hard work, Philippe! It sounds like your timer
will be quite useful. Please let us know the results of your timing
tests.
--Michael Fawcett
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk