Boost logo

Boost :

Subject: [boost] [system] Boost.Timer replacement
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-09-13 11:05:24


"The best is the enemy of the good."

Voltaire's famous bon mot applies to a replacement for Boost.Timer.
I've had a "good", although not "best", replacement ready since circa
2006. It has always been set aside waiting for something better. The
data-time, std::chrono, boost::chrono, boost::stopwatch, and probably
others, were all candidates.

I'm tired of waiting.

http://beman.github.com/timer/ documents a useful replacement for
Boost.Timer. The full library has been in the sandbox for years, but
current development is on GitHub.

See https://github.com/Beman/timer

I'd like to move the header into boost/system/pending or
boost/system/detail, and the rest into the appropriate libs/system
subdirectories. The library will be proposed for a full review, or a
mini-review if enough other Boost libraries start using it. If Endian
gets accepted, for example, it certainly needs timing benchmarks.

Comments?

--Beman


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