Boost logo

Boost :

Subject: Re: [boost] [Boost.Timer] Why timer doesn't have a specific windows version using QueryPerformanceCounter() and QueryPerformanceFrequency()?
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2010-11-04 07:19:44


Why Boost.Timer doesn't use for windows QueryPerformanceCounter() and
> QueryPerformanceFrequency()? These functions give a precision around 2
> microseconds.
>

This is an old and never ending recurrent request. The problem is that the
implementation of such a timer raises gazillions of concern and eventually
leads to the "bikeshed" problem.

There's currently boost::chrono (
http://svn.boost.org/svn/boost/sandbox/chrono/libs/chrono/doc/html/index.html)
that is being developped and you can also find some old attempts at a
boost::timers library at http://unitedsoft.ch/boost/ (use at your own
risks).

Philippe


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