Subject: [Boost-bugs] [Boost C++ Libraries] #5974: Process real cpu clock should use clock() instead of times() in MAC which is twice faster and have better resolution.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-04 08:37:33
#5974: Process real cpu clock should use clock() instead of times() in MAC which
is twice faster and have better resolution.
------------------------------+---------------------------------------------
Reporter: viboes | Owner: viboes
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: chrono
Version: Boost 1.47.0 | Severity: Optimization
Keywords: |
------------------------------+---------------------------------------------
The implementation of process_real_cpu_clock::now() uses the system
::times() function which is twice slower than clock(). In addition the
time given by times is not related to the process lifetime but the system
lifetime and the resolution is also twice better.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5974> 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:07 UTC