diff options
author | michael-west <michael.west@ettus.com> | 2018-01-09 16:32:11 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-01-16 09:51:15 -0800 |
commit | b8ae1286ad709bb609e0efc37039b3a3cacc6e9d (patch) | |
tree | f2664f643b4683c089fea4dc0cbaa00f1558a29d /host/lib/usrp | |
parent | 12b7a75dc161469400cbfcb3be5c282888d0eef1 (diff) | |
download | uhd-b8ae1286ad709bb609e0efc37039b3a3cacc6e9d.tar.gz uhd-b8ae1286ad709bb609e0efc37039b3a3cacc6e9d.tar.bz2 uhd-b8ae1286ad709bb609e0efc37039b3a3cacc6e9d.zip |
X300: Reduce CPU usage during TX by restoring timeout when getting flow control packets
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/device3/device3_io_impl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp index 5646d9b9c..024fe3fbb 100644 --- a/host/lib/usrp/device3/device3_io_impl.cpp +++ b/host/lib/usrp/device3/device3_io_impl.cpp @@ -342,9 +342,7 @@ static bool tx_flow_ctrl( } // Look for a flow control message to update the space available in the buffer. - // A minimal timeout is used because larger timeouts can cause the thread to be - // scheduled out for too long at high data rates and result in underruns. - managed_recv_buffer::sptr buff = async_xport->get_recv_buff(0.000001); + managed_recv_buffer::sptr buff = async_xport->get_recv_buff(); if (buff) { vrt::if_packet_info_t if_packet_info; |