Boost logo

Boost :

Subject: [boost] [chrono] v0.4 New thread_clock
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-02-28 09:27:10


Hi,

I'm pleased to announce the version 0.4 of the Boost.Chrono library. The implementaton is stable, I don't plan to add more features before review. I'll concentrate in improving the documentation and the tests.

I know that review managers are hard to find, so if you are interested in the library, please contact me or the Review Wizards.

The library can be downloaded from http://www.boostpro.com/vault/index.php?action=downloadfile&filename=chrono.zip&directory=System& and the documentation is online on the sandbox http://svn.boost.org/svn/boost/sandbox/chrono/libs/chrono/doc/html/index.html.

New Features since v0.3.2:
* Suspendible Clock concept + template class suspendible_clock<>
* Added scope_suspend which do suspend/resume if the Clock is a model of Suspendible Clock concept, and nothing otherwise.
* thread_clock support on platforms providing it natively.
* Added support for wide character for stopwatch_reporter, stopclock, and stopclock_accumulator.
* digital_time renamed t24_hours

Perf
* Added performances measures.

Bug Fixes
* Bug on timeval_demo.
time_point t(duration(xtime(0))); // this was taken as a function declaration
gettimeofday((timeval*)&t, 0);
return t;

time_point t(duration(xtime(0))); // this was taken as a function declaration gettimeofday((timeval*)&t, 0); return t; by
timeval tv;
gettimeofday(&tv, 0);
xtime xt( tv.tv_sec, tv.tv_usec);
return time_point(duration(xt));

* Bug on run_timer_test (add a global variable to avoid optimization that removes completely the code to be measured

Best regards,
_____________________
Vicente Juan Botet Escribá


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