summaryrefslogtreecommitdiffstats
path: root/src/output/UHD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/UHD.cpp')
-rw-r--r--src/output/UHD.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp
index b5c3ae3..833d981 100644
--- a/src/output/UHD.cpp
+++ b/src/output/UHD.cpp
@@ -469,7 +469,8 @@ void UHD::print_async_thread()
"OutputUHD status (usrp time: %f): "
"%d underruns and %d late packets since last status.\n",
usrp_time,
- num_underflows, num_late_packets);
+ num_underflows - num_underflows_previous,
+ num_late_packets - num_late_packets_previous);
}
num_underflows_previous = num_underflows;