Commit Graph

26 Commits

Author SHA1 Message Date
Jeff Garland
e26fd2ed98
pull develop to master for boost 1.72 (#117)
* Synchronize each miscrosec test to the next second (#109)

* Synchronize each miscrosec test to the next second

The aim is to avoid false positives in test_microsec when the seconds,
minutes or hours change during time read between the second_clock and
the microsec_clock.

* Improved readability of the microcec_time_clock test

* Improve performance of adding and subtracting time durations from a ptime. (#99)

Modifying ptime objects by adding and subtracting time durations was
inefficient because it extracted the date and time of day and then
re-constructed a ptime using the date and modified time of day.

This can be avoided by using the existing time_system utilities which
perform the operation by adjusting the number of ticks.

Performance is improved by a factor of 48 on my system.

* Update CI Scripts

* Add time_duration helper functions: (#113)

1. is_positive()
  - Return boolean value to indicate whether or not time duration is
    positive.
2. is_zero()
  - Return boolean value to indicate whether or not time duration is
    zero.
3. abs()
  - Return a time_duration which is the absolute value of time
    duration.

Added documentation for these helper functions and improved existing
documentation to indicate constness, return values or static
functions.

* Cease dependence on MPL (#115)
2019-12-03 17:06:28 -07:00
James E. King III
d8a1ed32fb add codecov.io, cppcheck, ubsan, and coverity scan support; refactor travis to use jobs 2018-01-21 20:14:06 -05:00
Andrey Semashev
6bbd9f50bc Merged changes from trunk. Fixes #3471.
[SVN r80940]
2012-10-10 19:05:03 +00:00
Andrey Semashev
86a65b062a testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users.
[SVN r49946]
2008-11-26 21:07:14 +00:00
Daniel James
c9f634b1d4 Merged revisions 43211,43214-43219,43222-43225,43227-43238,43242,43244-43245,43249-43250,43257-43259,43261,43263,43265,43267-43268,43270-43271,43273,43275-43279,43284-43289,43291,43295,43297-43298,43304-43305,43307,43313,43315,43324,43326-43327,43331,43333,43339-43343,43345,43348,43350,43352-43353,43355-43356,43358,43360,43366-43367,43369-43370,43372-43376,43378-43389,43394,43396-43398,43400-43401,43403-43404,43406-43408,43413-43415,43417-43418,43420,43422-43423 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r43417 | danieljames | 2008-02-26 22:04:55 +0000 (Tue, 26 Feb 2008) | 2 lines
  
  Fix a link to Boost.Bimap.
........
  r43418 | danieljames | 2008-02-26 22:07:25 +0000 (Tue, 26 Feb 2008) | 2 lines
  
  Change another link that's no longer in the repository to link to the website.
........
  r43422 | danieljames | 2008-02-27 18:51:14 +0000 (Wed, 27 Feb 2008) | 1 line
  
  Fix broken copyright urls. Fixes #1573.
........
  r43423 | danieljames | 2008-02-27 19:22:01 +0000 (Wed, 27 Feb 2008) | 1 line
  
  Fix incorrect links to copyright of the form 'http:#www.boost.org
........


[SVN r43425]
2008-02-27 20:00:24 +00:00
John Maddock
e73f083d86 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Jeff Garland
848bfac50d mac_fix_plus patch set for regressions from bart - 7.09
[SVN r23443]
2004-07-11 18:13:21 +00:00
Jeff Garland
283455973c fixes for wstring output
[SVN r22271]
2004-02-15 16:34:37 +00:00
Jeff Garland
8f6259134c fix tabs / formatting in source
[SVN r21107]
2003-12-03 03:28:35 +00:00
Jeff Garland
ff4253a4da license update
[SVN r20922]
2003-11-23 16:12:01 +00:00
Jeff Garland
7094455723 additional tests for time special values
[SVN r20649]
2003-11-04 13:59:42 +00:00
Jeff Garland
5c5f8bd576 additional tests for negative durations
[SVN r20052]
2003-09-14 15:14:54 +00:00
Jeff Garland
901244927d various fixes for negative durations, add tests for total_milliseconds, total_nanoseconds, total_microseconds
[SVN r19959]
2003-09-08 05:40:17 +00:00
Jeff Garland
38f8a0b6ae add unary- tests
[SVN r19705]
2003-08-20 03:17:07 +00:00
Jeff Garland
3c8a40a335 fixes overflow error for several compilers
[SVN r19589]
2003-08-14 13:01:19 +00:00
Jeff Garland
ca7d503b1a add more tests of multiply, divide
[SVN r19523]
2003-08-10 23:20:15 +00:00
Jeff Garland
c1dc1fefd7 updates to test total_seconds method
[SVN r19511]
2003-08-10 18:16:04 +00:00
Jeff Garland
0a86d8e186 additional tests
[SVN r19285]
2003-07-23 16:02:18 +00:00
Jeff Garland
9cd2a4b039 add dividable and other arithmetic operations fixes
[SVN r19217]
2003-07-19 20:38:15 +00:00
Jeff Garland
019634b25b added test for long time durations
[SVN r18281]
2003-04-20 17:45:30 +00:00
Björn Karlsson
d095bd24c1 Added copyright statement and untabified
[SVN r17200]
2003-02-04 14:25:27 +00:00
Jeff Garland
66fed94565 fix return value
[SVN r16944]
2003-01-19 19:08:09 +00:00
Jeff Garland
853b75f3ad updated macro so that high resolution tests run
[SVN r15911]
2002-10-13 16:36:21 +00:00
Jeff Garland
6a5e0c3726 resolve MSVC6 compile errors--issues with operator<< on int64_t
[SVN r15013]
2002-08-20 22:13:12 +00:00
Jeff Garland
dc846827e4 first version -- renamed
[SVN r14901]
2002-08-15 18:59:16 +00:00
Jeff Garland
81fd49774b first version of library
[SVN r14825]
2002-08-13 22:52:12 +00:00