diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-04-11 16:23:03 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-05-03 10:05:48 -0700 |
commit | 46b9293ed29bbeab28d25c23b2b63412dd5eb986 (patch) | |
tree | 1cc3cd76cdbe2d0dd726b5020bbe0f21712a2310 /host/utils/uhd_find_devices.cpp | |
parent | 5d9a7c92d3eb0a9cb719e6e6386d533da59a51db (diff) | |
download | uhd-46b9293ed29bbeab28d25c23b2b63412dd5eb986.tar.gz uhd-46b9293ed29bbeab28d25c23b2b63412dd5eb986.tar.bz2 uhd-46b9293ed29bbeab28d25c23b2b63412dd5eb986.zip |
examples: Add failure modes to benchmark_rate
When too many overruns, underruns, or dropped packets are detected,
benchmark_rate will now return EXIT_FAILURE. This allows to use it for
automated tests.
The thresholds are set very high by default, but can be manually tuned
by using new command line arguments:
$ benchmark_rate --overrun-threshold 0 # Fail on any number of Os
Diffstat (limited to 'host/utils/uhd_find_devices.cpp')
0 files changed, 0 insertions, 0 deletions