Boost C++ Libraries: Ticket #9342: Regression on process_cpu_clock::timepoint io on V2 https://svn.boost.org/trac10/ticket/9342 <p> The following example </p> <pre class="wiki">#define BOOST_CHRONO_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0 #include &lt;boost/chrono/chrono_io.hpp&gt; int main() { std::cout&lt;&lt; boost::chrono::process_cpu_clock::now() &lt;&lt; std::endl; } </pre><p> outputs </p> <pre class="wiki">{1383629724660000000;0;0} nanoseconds since process start-up </pre><p> while if BOOST_CHRONO_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0 is not defined, it outputs </p> <pre class="wiki">1383629672240000000 nanoseconds since process start-up </pre><p> A process_cpu_clock::duration::rep is a tuple like of 3 clocks real, user and system. </p> <p> The same problem for input. V1 manages a format <code> {v1,v2;v3} </code> and is able to restore the 3 clocks, but V2 takes only the real clock in account. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9342 Trac 1.4.3 viboes Tue, 05 Nov 2013 05:44:39 GMT status changed https://svn.boost.org/trac10/ticket/9342#comment:1 https://svn.boost.org/trac10/ticket/9342#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket viboes Sun, 19 Jan 2014 07:31:45 GMT description changed https://svn.boost.org/trac10/ticket/9342#comment:2 https://svn.boost.org/trac10/ticket/9342#comment:2 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/9342?action=diff&amp;version=2">diff</a>) </li> </ul> Ticket viboes Tue, 21 Jan 2014 18:12:25 GMT milestone changed https://svn.boost.org/trac10/ticket/9342#comment:3 https://svn.boost.org/trac10/ticket/9342#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/chrono/commit/a60274c77ab8b53fdd77fbc109fc9d344824d6d5"><span class="icon">​</span>https://github.com/boostorg/chrono/commit/a60274c77ab8b53fdd77fbc109fc9d344824d6d5</a> </p> Ticket viboes Sun, 23 Feb 2014 13:41:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9342#comment:4 https://svn.boost.org/trac10/ticket/9342#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Merged to master <a class="ext-link" href="https://github.com/boostorg/chrono/commit/143260daeb2703961448a0928d199747ca34dfca"><span class="icon">​</span>https://github.com/boostorg/chrono/commit/143260daeb2703961448a0928d199747ca34dfca</a> </p> Ticket