Peter Dimov
1a53ea1d8e
Remove dependency on Boost.System; use return value of ::times as suggested in #13
2023-04-19 20:26:29 +03:00
Peter Dimov
2d98f253a0
Simplify tick_factor_
2020-11-20 03:59:52 +02:00
Peter Dimov
85da0907ac
Fix data race in tick_factor()
2020-11-19 17:50:41 +02:00
Marcel Kost
ceeb3e12e0
Remove unused using-declaration for error_code
...
`boost::system::error_code` is included in the namespace, even though it is not even used in this file.
The problem I encounter because of this: When configuring `boost/chrono` to be header-only, the `error_code` symbol is not included anymore and the `cpu_timer.cpp` doesn't compile.
2020-04-24 16:09:45 +02:00
Peter Dimov
b7bf32e40c
BOOST_PLAT_WINDOWS_DESKTOP is not defined for Cygwin
2019-01-16 01:29:01 +02:00
Peter Dimov
2547da2ca9
Merge branch 'universal-windows' of https://github.com/mauve/timer into feature/pr-3
2019-01-15 19:38:07 +02:00
Peter Dimov
cee372b042
Remove assert to placate inspect; logic handles the case fine
2019-01-15 18:15:27 +02:00
Daniel James
10bf0e3d6d
Revert "Avoid link-time chrono dependencies"
...
This reverts commit 98954984a4 .
2017-12-17 15:27:55 +00:00
Beman Dawes
a8e1fefd5f
Merge pull request #2 from jzmaddock/patch-1
...
Allow timer to be built with -fno-exceptions
2017-10-23 08:44:38 -04:00
Beman Dawes
d9efde562d
Merge pull request #5 from igaztanaga/patch-1
...
Avoid link-time chrono dependencies
2017-10-23 08:42:08 -04:00
Ion Gaztañaga
98954984a4
Avoid link-time chrono dependencies
...
timer used to be independent from chrono. The tiny dependency used in the implementation can be isolated defining BOOST_CHRONO_HEADER_ONLY
2017-06-10 23:59:48 +02:00
Antony Polukhin
d41bad0dad
Fixed multiple warnings 'use of C99 long long integer constant'
2017-04-28 13:11:15 +03:00
Beman
da677f6749
Clean up Jamfiles, clear GCC warnings, convert msvc to VC++ 2015
2015-10-27 17:11:55 -04:00
Mikael Olenfalk
fb7337d710
universal-windows: GetProcessTimes is not supported
2015-10-07 15:14:11 +02:00
jzmaddock
ba8ae43a26
Allow timer to be built with -fno-exceptions
2015-09-06 09:51:44 +01:00
Beman Dawes
acc9e538c8
Clear compiler warning
...
[SVN r77358]
2012-03-17 13:06:57 +00:00
Beman Dawes
04b48fd55f
Add BOOST_NOEXCEPT and allies. Apply to Boost.Timer. Correct several Boost.timer boo boos detected while testing BOOST_NOEXCEPT.
...
[SVN r74895]
2011-10-10 14:48:39 +00:00
Beman Dawes
3b6269bfad
Change stop() to void return, supply auto_cpu_timer observers, change m_os to pointer to enable compiler generated operator=, change report() to no longer do stop() ... resume()
...
[SVN r74778]
2011-10-07 13:57:43 +00:00
Beman Dawes
e3b6783e6c
Eliminate default_format from header. This eliminates initialization issues at the cost of some additional overloads. Docs to follow. Suggested by Rob. This change was made simpler by combining and reorganizing so there are now only two source files.
...
[SVN r74765]
2011-10-06 20:50:47 +00:00
Beman Dawes
bc3c77d467
Hand merge Version 2 from https://github.com/Beman/timer
...
[SVN r74697]
2011-10-04 15:06:50 +00:00