Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1962: Doesn't measure wall clock time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-06 12:02:01
#1962: Doesn't measure wall clock time
---------------------------+------------------------------------------------
Reporter: dave | Owner: bemandawes
Type: Bugs | Status: closed
Milestone: Boost 1.36.0 | Component: timer
Version: Boost 1.35.0 | Severity: Problem
Resolution: wontfix | Keywords:
---------------------------+------------------------------------------------
Changes (by bemandawes):
* status: new => closed
* resolution: => wontfix
Comment:
<timer.hpp> measures whatever time std::clock measures. Unfortunately,
this varies from system to system.
The fix is to retire <timer.hpp>, and replace it with a much better set of
facilities based on C++0x <chrono>.
I've been working on these facilities in
svn.boost.org/svn/boost/sandbox/chrono
Currently, the header is <boost/chrono/timer.hpp>. It supplies:
* process_clock: capturing real, user-CPU, and system-CPU clocks.
* process_timer: capturing elapsed real, user-CPU, and system-CPU times.
* run_timer: convenient reporting of process_timer results.
I'm probably going to move these to a new Boost.Timer library.
--Beman
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/1962#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC