[Boost-bugs] [Boost C++ Libraries] #9337: chrono::process_cpu_clock time points wrong by factor 1000 on Linux

Subject: [Boost-bugs] [Boost C++ Libraries] #9337: chrono::process_cpu_clock time points wrong by factor 1000 on Linux
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-03 12:49:37


#9337: chrono::process_cpu_clock time points wrong by factor 1000 on Linux
--------------------------------------------------+---------------------
 Reporter: Markus Friedrich <friedrich.at.gc@…> | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
--------------------------------------------------+---------------------
 The time point returned by boost::chrono::process_cpu_clock::now() is on
 Linux by a factor of 1000 to large.
 Measuring the duration between a sleep of e.g. 1 second returns

 {1000000000000;0;0} nanoseconds

 All other process clocks (process_real_cpu_clock, process_user_cpu_clock,
 process_system_cpu_clock) are fine!

 Test program and patch attached.

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