Commit graph

13 commits

Author SHA1 Message Date
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
Andrej Rode
26cc20847c uhd: replace BOOST_FOREACH with C++11 range-based for loop
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
2017-02-10 16:44:33 -08:00
Martin Braun
99c2730bc9 Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with
  stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
  compilers support that).
2016-11-08 08:02:22 -08:00
Michael Dickens
a7049e4ff7 uhd: Fixed multiple compiler warnings
- Use ULL and LL etc. so compiler doesn't need to decide constant's types
- define the empty 'while' loop to include {} to make older compilers happy
- Use explicit type names for BOOST_CHECK_EQUAL
2015-03-11 15:33:17 -07:00
Ben Hilburn
9e47ad607b Squashed merge of Coverity fixes. 2013-11-27 12:11:23 -08:00
Josh Blum
0f0ad387e8 uhd: added missing include iomanip 2013-04-24 14:19:02 -07:00
Josh Blum
cb3f554658 uhd: fixes for time_spec's to_ticks and from_ticks calls
The fixes address rouding issues when the tick_rate is a non-integer.

Conflicts:

	host/tests/time_spec_test.cpp
2013-04-12 11:20:10 -07:00
Josh Blum
5eec31fab4 dsp rework: implement 64 bit ticks, no seconds 2012-02-06 16:40:42 -08:00
Josh Blum
be1be806d2 uhd: also normalise the time spec when adding/subtracting (added unit test) 2011-08-30 17:24:40 -07:00
Josh Blum
465431b1a3 uhd: fix for dealing with negative wrapping in time_spec 2011-08-29 09:55:22 -07:00
Josh Blum
95b966a599 uhd: update copyright headers with automated script 2011-03-23 18:48:30 -07:00
Josh Blum
7ffc73fe67 uhd: implemented high-res get time in time_spec_t
clock_gettime for linux,
mach_absolute_time for macos,
QueryPerformanceFrequency for windows,
and fallback to boost microsec_clock
2011-01-30 19:08:30 -08:00
Josh Blum
132e622379 uhd: renamed test directory to tests to be consitent 2011-01-14 10:50:07 -08:00
Renamed from host/test/time_spec_test.cpp (Browse further)