From 75537e896bbd0aeb8d988b6ad33b5ab2d35b316f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 9 Jul 2010 18:26:10 -0700 Subject: uhd: benchmark app, overruns are ok to get --- host/examples/benchmark_rx_rate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/examples/benchmark_rx_rate.cpp b/host/examples/benchmark_rx_rate.cpp index ba4dd34d0..7a7e9c3e0 100644 --- a/host/examples/benchmark_rx_rate.cpp +++ b/host/examples/benchmark_rx_rate.cpp @@ -57,7 +57,7 @@ static inline void test_device( std::cerr << "Unexpected timeout on recv, exit test..." << std::endl; return; } - if (num_rx_samps == 0){ + if (num_rx_samps == 0 and md.error_code != uhd::rx_metadata_t::ERROR_CODE_OVERRUN){ std::cerr << "Unexpected error on recv, continuing..." << std::endl; } if (not md.has_time_spec){ -- cgit v1.2.3