aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
* Types: Added equality/inquality operators to support Boost.Python additionsPaul David2017-05-232-0/+20
| | | | | | - Added to subdev_spec_pair_t - Added to range_t - Added tests for the inequalities
* log: Removed timeout from logger, replaced with wait.Martin Braun2017-05-231-2/+20
| | | | | This works because there's also another trace message on termination of the logger.
* log: Remove logging out of any UHD_STATIC_BLOCK.trungnob2017-05-203-4/+4
| | | | | | Window DLL loading is causing deadlock due to thread creation and synchronization of logging system; therefore, we want to remove it for now.
* log: Moved print_system_info to log.cpp.trungnob2017-05-202-11/+18
| | | | | We want to display syteminfo when the log system get initialized. Also removes a static block.
* multi_usrp: Added more checks for properties that may not existMartin Braun2017-05-151-3/+12
|
* Merge branch 'maint'Martin Braun2017-05-151-2/+28
|\
| * device3: Improved busy loop for tx flow control polling on slower machinesPatrick Sisterhen2017-05-081-2/+28
| | | | | | | | Effectively adds a yield statement inside the busy loop.
* | log: Split add_logger() out of the main logging headerMartin Braun2017-05-121-0/+1
| | | | | | | | | | This way, C++11 features are not required to build with UHD headers included.
* | x300: Fixed TODO (used auto)Martin Braun2017-05-041-3/+1
| |
* | Merge branch 'maint'Martin Braun2017-05-034-173/+83
|\|
| * coverity: fix various minor issuesAndrej Rode2017-04-251-0/+2
| |
| * uhd: cast thread_group.create_thread() return value to void to avoid memory leakAndrej Rode2017-04-251-2/+2
| |
| * PCIe: Fix runtime page size acquisition and page size alignment checks for ↵Michael West2017-04-201-1/+38
| | | | | | | | nirio_zero_copy transport.
| * Revert commit e348353c4f5acef6a5ece11e9c336df4c15d65e1.Michael West2017-04-201-170/+41
| | | | | | | | | | Worker threads significantly increased CPU load and did not increase performance as expected.
* | log: Fixed compiler warningMartin Braun2017-05-031-1/+1
| |
* | log: Allow logging to blockMartin Braun2017-04-241-1/+2
| | | | | | | | | | | | | | | | This means it's very unlikely that logging messages get dropped, but the downside is that LOG macros can block for up to 250 ms. This is very unlikely though. Note that fastpath logging does not have this feature. It's always fast, and might drop messages.
* | log: Moved fastpath logging to its own threadMartin Braun2017-04-242-1/+50
| |
* | log: Fixed various issuesMartin Braun2017-04-221-33/+62
| | | | | | | | | | | | - Made the task a regular thread - Moved verbosity operator into lib - Minor comments and indents and so on
* | log: Added more comments and manual pageMartin Braun2017-04-201-5/+17
| |
* | log: Fix missing add_logger, fix clearing of queueMartin Braun2017-04-201-2/+25
| |
* | utils: implement Ettus Logging APIAndrej Rode2017-04-201-143/+182
| | | | | | | | | | | | | | | | - allows adding new loggers by using add_logger API call - existing loggers (console, file) can be disabled easily - number of logging sinks is not limited Signed-off-by: Martin Braun <martin.braun@ettus.com>
* | add windows get_local_port()Andrej Rode2017-04-141-0/+10
| |
* | transports: Added get_local_port() method to UDP transportsAndrej Rode2017-04-141-0/+1
| |
* | Merge branch 'maint'Martin Braun2017-04-137-1/+30
|\|
| * rfnoc: Update DDC and DUC command tick rateMartin Braun2017-04-133-1/+19
| | | | | | | | | | Update happens when the sampling rate is queried, which needs revisiting, but happens to occur at the correct time in the sequence.
| * rfnoc: radio blocks update their own command time based on updated tick rateMartin Braun2017-04-131-0/+1
| |
| * rfnoc: Add set_command_time hook to radio blockDerek Kozel2017-04-133-0/+10
| |
| * UHD: Fix get_normalized_tx_gain in multi_usrpDerek Kozel2017-04-091-1/+1
| |
* | uhd: Removed unused code in recv_packet_demuxer_proxy_3000Martin Braun2017-04-121-30/+3
| | | | | | | | | | All this code required defining RECV_PACKET_DEMUXER_3000_THREAD_SAFE, which we never set.
* | utils: Replaced uhd::atomic_uint32_t with std::atomicMartin Braun2017-04-122-9/+14
| |
* | gps_ctrl: dont use gmtimeAndrej Rode2017-04-121-14/+10
| |
* | gps_ctrl: yeah windows, my friendAndrej Rode2017-04-121-1/+4
| |
* | usrp: remove gregorian and lexical casting in gps_ctrlAndrej Rode2017-04-121-12/+14
| |
* | device3: add missing lock_guard includeAndrej Rode2017-04-101-1/+2
| |
* | logging: remove unecessery newlines in log messagesAndrej Rode2017-04-073-3/+3
| |
* | utils: add coloring depending on loglevel to console outputAndrej Rode2017-04-071-1/+36
| |
* | logging: Demoted more DEBUG to TRACEMartin Braun2017-04-0616-97/+99
| |
* | transport: Fix some nullptr vs NULL vs 0Martin Braun2017-04-062-3/+4
| | | | | | | | This affects some versions of Clang when using C++11 features.
* | utils: add cmake switch to disable fastpath loggingAndrej Rode2017-04-061-3/+12
| |
* | transport: Fixed UHD logging post-mergeMartin Braun2017-04-061-2/+1
| |
* | Merge branch 'maint'Martin Braun2017-04-068-79/+482
|\|
| * X300: Increase FW control ACK timeoutMichael West2017-04-051-1/+1
| | | | | | | | - Fixes issue of fw_communication timeout errors on (Windows) systems where clock ticks are >10ms
| * Implement worker threads to offload conversion of data and transport I/OMichael West2017-04-051-41/+170
| | | | | | | | | | for send() calls. - One worker thread per channel provides for improved scalability
| * PCIe: Add checks to make sure buffers are page alighed (requirement ofMichael West2017-04-051-0/+23
| | | | | | | | NI-RIO driver)
| * X300: Change default frame sizes for PCIe to be page aligned for betterMichael West2017-04-052-13/+16
| | | | | | | | performance
| * Device3: Improved send flow controlmichael-west2017-04-051-24/+44
| | | | | | | | | | | | - Implemented zero_copy_flow_ctrl for send transport - Removed bounded buffer for sequence acks - Created spin wait on flow control for fastest response to flow control updates
| * Added class to add flow control to any zero_copy_if interface.michael-west2017-04-052-0/+228
| |
* | logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-0530-54/+49
| |
* | device3: Fixed potential concurreny issuesAshish Chaudhari2017-04-057-16/+13
| | | | | | | | | | | | | | - Protected block_ctrl vector with a mutex - Note: const block accessors are not thread safe - Removed sid_framer from base device3 class - Made x300,e300 sid_framers atomic
* | multi_usrp: Removed ordering req. from prop_tree path accessAshish Chaudhari2017-04-051-6/+18
| | | | | | | | | | | | | | - Path getters for mboard, rx_dsp and tx_dsp concat the numeric channel to the tree path instead of indexing a list. This allows for easier multi threaded tree construction because values can be placed in the tree in a random order.