diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2018-12-21 10:54:05 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-03 09:20:18 -0800 |
commit | aa1ec635379192bc9694ceddfb7c417992b94db4 (patch) | |
tree | 733f7a5b60da5bb273c4fe3330592ba6e905843f /host/tests/addr_test.cpp | |
parent | 7d34f4d2c8e3ae63f7f217be7700d20e5c8823a7 (diff) | |
download | uhd-aa1ec635379192bc9694ceddfb7c417992b94db4.tar.gz uhd-aa1ec635379192bc9694ceddfb7c417992b94db4.tar.bz2 uhd-aa1ec635379192bc9694ceddfb7c417992b94db4.zip |
examples: optimize tx_waveforms memory allocations
Move filling the TX buffer outside the critical path. Now, we pre-fill
the TX buffer before entering the send loop (and before setting the
TX stream time), and fill the TX buffer after calling send() (for the
next iteration).
Diffstat (limited to 'host/tests/addr_test.cpp')
0 files changed, 0 insertions, 0 deletions