From dbf8e9d8a29b9232422c3c9ffb7a25125fdd0166 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 14 Jan 2018 07:53:54 +0100 Subject: UHD: fix print of late packets and underruns --- src/output/UHD.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/output') 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; -- cgit v1.2.3