uhd/host/examples/python
Martin Braun b34e2f0593 python: Fix dropped-sample calculation in benchmark_rate.py
This fixes a subtle bug, where a variable to cache the timestamp of an
error gets bound to the metadata instead of creating a copy thereof.
Without this fix, the calculation of dropped samples would always be 0,
because the difference in timestamps would incorrectly be always zero.
This fix will now make a copy of the timestamp.

Shoutout to GitHub user bhorsfield for finding this issue.
2021-09-28 06:25:25 -07:00
..
benchmark_rate.py python: Fix dropped-sample calculation in benchmark_rate.py 2021-09-28 06:25:25 -07:00
CMakeLists.txt examples: Add usrp_power_meter example 2020-05-19 13:30:20 -05:00
curses_fft.py Remove remaining Python 2 references 2020-05-07 15:10:41 -05:00
rx_to_file.py Remove remaining Python 2 references 2020-05-07 15:10:41 -05:00
tx_waveforms.py Remove remaining Python 2 references 2020-05-07 15:10:41 -05:00
usrp_power_meter.py examples: Fix usrp_power_meter example 2020-06-11 08:26:23 -05:00