Brent Stapleton
967be2a4e8
uhd: mpm: apply clang-format to all files
...
Applying formatting changes to all .cpp and .hpp files in the following
directories:
```
find host/examples/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/tests/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/utils/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find mpm/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
```
Also formatted host/include/, except Cpp03 was used as a the language
standard instead of Cpp11.
```
sed -i 's/ Cpp11/ Cpp03/g' .clang-format
find host/include/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
```
Formatting style was designated by the .clang-format file.
2019-01-16 11:40:23 -08:00
Brent Stapleton
601e0ed87b
examples: utils: skip formatting program options
...
Turning off clang formatting around the program option declarations.
clang-format makes them looks bad an unreadable because it thinks the
options are function calls or something.
2019-01-16 11:40:23 -08:00
Martin Braun
ae5211d71d
uhd: Update license headers
...
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b
Move all license headers to SPDX format.
2017-12-22 10:45:51 -08:00
Martin Braun
3d5176874f
Merge branch 'maint'
2017-07-17 18:44:48 -07:00
Martin Braun
49d3d20e0c
examples: Improved output for latency_test
2017-06-30 12:03:35 -07:00
Andrej Rode
c33928d2bb
utils: add set_thread_name API call, move thread_priority to thread
2017-06-29 13:43:05 -07:00
Josh Blum
c464a63e87
uhd: added new calls to streamer object + support work
...
* The transmit streamer gives access to the async msg queue.
* The receive streamer gives access to the issue stream cmd.
* Supporting usrp implementation files updated.
* Example applications updated to use this API.
2013-07-15 15:44:42 -07:00
Moritz Fischer
171e46cebe
examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectively
...
instead of 0 and 1.
2012-10-26 14:00:29 -07:00
Josh Blum
fac15db5d7
uhd: renamed some of the stream types and functions
2011-11-03 20:37:11 -07:00
Josh Blum
a629bbe7e3
uhd: updated examples to use new streamer interface
2011-11-03 20:37:10 -07:00
Josh Blum
cadafd4c3e
uhd: cleanup/tweaks on timed samples examples
2011-03-11 16:22:20 -08:00
Josh Blum
a54c4ab9de
uhd: cleanup for latency test
2011-02-03 18:50:31 -08:00
Matt Ettus
d6cab26bf2
successful latency test. About 500 us on my laptop.
2011-02-03 16:41:01 -08:00
Matt Ettus
d74b0322bf
getting usable data
2011-02-03 16:10:47 -08:00
Matt Ettus
4b9f4b5aec
sort of working latency tester
2011-02-03 15:48:04 -08:00