aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_cal_tx_dc_offset.cpp
Commit message (Collapse)AuthorAgeFilesLines
* utils: Improve cal TX threadsmichael-west2021-04-291-45/+6
| | | | | | | Increase thread priority on TX thread and remove memory copy to reduce underruns. Signed-off-by: michael-west <michael.west@ettus.com>
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-1/+1
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace all occurrences of boost::bind with std::bindMartin Braun2019-11-261-1/+2
| | | | | | | | | | | | | | | | | | | | | Note: Replacing everything with a lambda would be even better, but that can't be easily scripted so we'll do this as a first step to reduce the Boost footprint. This also removes occurences of #include <boost/bind.hpp>, and makes sure all usages of std::bind have an #include <functional>. clang-format wasn't always applied to minimize the changeset in this commit, however, it was applied to the blocks of #includes. Due to conflicts with other Boost libraries, the placeholders _1, _2, etc. could not be directly used, but had to be explicitly called out (as std::placeholders::_1, etc.). This makes the use of std::bind even uglier, which serves as another reminder that using std::bind (and even more so, boost::bind) should be avoided. nirio/rpc/rpc_client.cpp still contains a reference to boost::bind. It was not possible to remove it by simply doing a search and replace, so it will be removed in a separate commit.
* utils: remove thread priority elevationCiro Nishiguchi2019-11-261-2/+0
| | | | | | | | Remove UHD call to elevate thread priority to realtime from utils, and add warning in documentation of set_thread_priority function. 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-104/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* utils: Factor wait_for_lo_lock() out of cal utilsMartin Braun2018-08-291-8/+1
|
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-2/+4
| | | | Replace with std::this_thread::sleep_for().
* cal_utils: logic to handle eventual U's during calibrationNicolas Cuervo2018-04-181-7/+25
| | | | | For every frequency point, the cal utils will detect underruns and retry a calibration measurement up to 10 times before failing.
* 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
|
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-2/+1
|
* utils: Minor doc fix (amplitudes are not in counts)Martin Braun2016-10-131-1/+1
|
* UHD: Fixes for dboard calibration utilities.michael-west2015-01-161-59/+113
|
* Merge branch 'origin/uhd/cal_msg' into maintBen Hilburn2014-04-111-1/+2
|\
| * uhd: Cal tools had ambiguous help message, referring to XCVR boards.Martin Braun2014-03-281-1/+2
| |
* | uhd: Fixed bug in cal tools that would always use A-side settings, also some ↵Martin Braun2014-04-101-26/+2
|/ | | | refactoring
* utils: added subdev selection to cal toolsMartin Braun2014-03-101-2/+14
|
* Merge branch 'maint'Nicholas Corgan2012-11-191-1/+4
|\
| * utils: cal apps immediately fail if dboard has no serial instead of after ↵Nicholas Corgan2012-11-161-1/+4
| | | | | | | | test runs
* | examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectivelyMoritz Fischer2012-10-261-2/+2
|/ | | | instead of 0 and 1.
* uhd: tweaks to calibration utilitiesJosh Blum2011-11-231-2/+2
|
* e100: added self-cal support with minor speedupsJosh Blum2011-11-161-2/+3
|
* uhd: more common code in cal utilsJosh Blum2011-11-151-33/+6
|
* uhd: support for applying cal corrections B100Josh Blum2011-11-151-1/+1
|
* uhd: added calibration usage app notes and renamed apps againJosh Blum2011-11-151-0/+264