|
Boost : |
Subject: [boost] [Chrono] Proposed library now feature complete
From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-11-18 12:14:39
The Chrono library in the sandbox is now more-or-less feature complete.
In addition to the C++0x features, timers have been added to replace the
old Boost.Timer library which will become deprecated.
The feature list includes:
* The C++0x Standard Library's time utilities, including:
o Class template duration
o Class template time_point
o Clocks:
+ |system_clock|
+ |monotonic_clock|
+ |high_resolution_clock|
* Class template |timer|, with typedefs:
o |system_timer|
o |monotonic_timer|
o |high_resolution_timer|
* Process clocks and timers:
o |process_clock|, capturing real, user-CPU, and system-CPU times.
o |process_timer|, capturing elapsed real, user-CPU, and
system-CPU times.
o |run_timer|, convenient reporting of |process_timer| results.
* The C++0x Standard Library's compile-time rational arithmetic.
See http://svn.boost.org/svn/boost/sandbox/chrono
The implementation is now working and lightly tested on Windows with
VC++ 9.0 SP1 and Intel ia32 11.0 compilers, and on Ubuntu Linux with GCC
4.2.4 compiler.
There is a bit more documentation, but it is still needs much work.
Comments are welcome.
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk