aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/rx_multi_samples.cpp
Commit message (Collapse)AuthorAgeFilesLines
* examples: remove thread priority elevationCiro Nishiguchi2019-10-221-2/+0
| | | | | | | Remove UHD call to elevate thread priority to realtime. Setting all threads to the same realtime priority can cause the threads to not share access to the network interface fairly, which adversely affects operation of the worker threads in UHD.
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-84/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* examples: utils: skip formatting program optionsBrent Stapleton2019-01-161-0/+2
| | | | | | 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.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-3/+4
| | | | Replace with std::this_thread::sleep_for().
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-291-1/+1
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-3/+2
|
* uhd: Added nicer error reporting to rx examplesMartin Braun2014-04-101-2/+2
|
* examples: changed examples that force usage of all channels to allow user to ↵Nicholas Corgan2013-08-261-3/+17
| | | | input which channels to use
* uhd: added new calls to streamer object + support workJosh Blum2013-07-151-1/+1
| | | | | | | * 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.
* examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectivelyMoritz Fischer2012-10-261-1/+1
| | | | instead of 0 and 1.
* uhd: modify examples to use new time/clock source APIJosh Blum2011-11-071-4/+3
|
* uhd: renamed some of the stream types and functionsJosh Blum2011-11-031-2/+2
|
* uhd: updated examples to use new streamer interfaceJosh Blum2011-11-031-5/+10
|
* uhd: add mimo cable config option to rx_multi_samplesJosh Blum2011-09-061-2/+18
|
* usrp: created common code to demux an rx stream (b100, e100)Josh Blum2011-07-011-1/+1
|
* uhd: created rx_multi_samples for multi-channel exampleJosh Blum2011-03-111-0/+158