Re: [Boost-bugs] [Boost C++ Libraries] #10285: local_time is not monotonic

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10285: local_time is not monotonic
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-06 15:43:11


#10285: local_time is not monotonic
------------------------------------------+--------------------------------
  Reporter: Gaetano Mendola <mendola@…> | Owner: James E. King, III
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: date_time
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+--------------------------------
Changes (by James E. King, III):

 * owner: az_sw_dude => James E. King, III
 * status: new => assigned

Comment:

 I can confirm this behavior in boost 1.66.0 with gcc-7.2 on Ubuntu Artful.
 It looks like a rounding error, as the difference between old, new, and
 current is approx. 1 second:

 {{{
 jking_at_ubuntu:~/boost/libs/date_time/test$
 ../../../bin.v2/libs/date_time/test/foo.test/gcc-gnu-7/debug/threadapi-
 pthread/foo
 2018-Jan-06 16:40:15.004246000 CET
 2018-Jan-06 16:40:14.004293000 CET
 2018-Jan-06 16:40:15.004732000 CET
 ====================
 2018-Jan-06 16:40:16.003909000 CET
 2018-Jan-06 16:40:15.003974000 CET
 2018-Jan-06 16:40:16.004328000 CET
 ====================
 2018-Jan-06 16:40:24.004164000 CET
 2018-Jan-06 16:40:23.004217000 CET
 2018-Jan-06 16:40:24.004610000 CET
 ====================
 2018-Jan-06 16:40:25.003827000 CET
 2018-Jan-06 16:40:24.003878000 CET
 2018-Jan-06 16:40:25.004240000 CET
 ====================
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/10285#comment:1>
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 : 2018-01-06 15:50:59 UTC