aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhost/examples/python/benchmark_rate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/examples/python/benchmark_rate.py b/host/examples/python/benchmark_rate.py
index 67ba0b9e9..67b9c1e02 100755
--- a/host/examples/python/benchmark_rate.py
+++ b/host/examples/python/benchmark_rate.py
@@ -354,13 +354,13 @@ def print_statistics(rx_statistics, tx_statistics, tx_async_statistics):
rx_statistics.get("num_rx_seqerr", 0),
tx_async_statistics.get("num_tx_underrun", 0),
rx_statistics.get("num_rx_late", 0),
- rx_statistics.get("num_rx_timeouts", 0),
- tx_async_statistics.get("num_tx_timeouts", 0))
+ tx_async_statistics.get("num_tx_timeouts", 0),
+ rx_statistics.get("num_rx_timeouts", 0))
logger.info(statistics_msg)
def main():
- """RX samples and write to file"""
+ """Run the benchmarking tool"""
args = parse_args()
# Setup some argument parsing
if not (args.rx_rate or args.tx_rate):