[Boost-bugs] [Boost C++ Libraries] #5947: Use CLOCK_PROCESS_CPUTIME_ID on platform providing them

Subject: [Boost-bugs] [Boost C++ Libraries] #5947: Use CLOCK_PROCESS_CPUTIME_ID on platform providing them
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-27 11:30:41


#5947: Use CLOCK_PROCESS_CPUTIME_ID on platform providing them
------------------------------+---------------------------------------------
 Reporter: viboes | Owner: viboes
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: chrono
  Version: Boost 1.47.0 | Severity: Optimization
 Keywords: |
------------------------------+---------------------------------------------
 The posix implementation of process real cpu clock uses the times()
 function. The resolution is better if we use

   ::clock_gettime( CLOCK_PROCESS_CPUTIME_ID, &ts );

 on platforms for which the CLOCK_PROCESS_CPUTIME_ID is supported.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5947>
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