
20 Apr
2007
20 Apr
'07
5:03 p.m.
François Duranleau wrote:
On Fri, 20 Apr 2007, Przemyslaw Tumidajewicz wrote: boost::timer uses std::clock to measure time, which measures only the time a process spends using the CPU. What you want is to use a real time clock. You can to that with the Boost.DateTime library.
Example: (using microseconds precision, untested)
..snip...
There's actually a bunch of timer rewrites in the vault right now http://boost-consulting.com/vault/index.php?PHPSESSID=89ru43aab3t1dud9qpkjv7hu87&direction=0&order=&directory=date_time The one I know I've used is new_timer.zip 15.05.2006 which is based on date-time microsecond clock. Jeff