Commit Graph

15 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
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
Andrey Semashev
a2049a59d6 Merged various fixes from trunk.
[SVN r49705]
2008-11-12 19:37:53 +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
Jeff Garland
0b401d8914 allow tests to pass if the clock time is equal to the last -- happens on fast machines.
[SVN r37066]
2007-02-25 20:00:37 +00:00
Jeff Garland
c5d45806bd Change test to reinit the last variable before the universal_time loop so that failures in some test setups are fixed. Should fix regression errors before 1.33
[SVN r27409]
2005-02-17 13:52:25 +00:00
Jeff Garland
7b2035e21f fix regression failures due to new univ time tests that were added
[SVN r27352]
2005-02-13 19:12:42 +00:00
Jeff Garland
a62d8b80c9 fix vc6 failure -- bad scoping rules on that compiler - fix patch
[SVN r26841]
2005-01-25 01:29:24 +00:00
Jeff Garland
5783232967 fix vc6 failure -- bad scoping rules on that compiler
[SVN r26840]
2005-01-25 01:26:21 +00:00
Jeff Garland
678e87764f updates to enable universal_time for windows tests
[SVN r26811]
2005-01-22 19:15:38 +00:00
Jeff Garland
70ccb62a4c add in a test to run the universal time extension
[SVN r26804]
2005-01-22 16:32:45 +00:00
Jeff Garland
f96d2d6eb7 updates to allow microsecond clock on Win32
[SVN r24240]
2004-08-01 21:23:45 +00:00
Jeff Garland
9bdf39be02 force test to fail for platforms that don't support ms clock
[SVN r23727]
2004-07-18 16:01:12 +00:00
Jeff Garland
ff4253a4da license update
[SVN r20922]
2003-11-23 16:12:01 +00:00
Jeff Garland
ad41658d25 add changes for high precision clock types
[SVN r17378]
2003-02-13 18:44:26 +00:00