Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples: optimize benchmark_rate start time | Brent Stapleton | 2019-01-03 | 1 | -3/+3 |
| | | | | | | | | Move the setting of the streaming start times back as late as possible. Currently, there are memory allocations in between setting the time_spec in the TX metadata and actually starting streaming. This will lessen the need for an INIT_DELAY and decrease the probability of late packets. | ||||
* | utils: fix bmark_rate MIMO synchronization | Brent Stapleton | 2018-10-12 | 1 | -9/+10 |
| | | | | | | | | | | Fix USRP2 MIMO synchronization in benchmark_rate. When synchronizing N2XXs connected with a MIMO cable, only the master's time needs to be set; the slave will be synchronized automatically. Currently, calling set_time_unknown_pps will attempt to synchronize the slave on the next PPS, which can cause problems since the MIMO cable doesn't propogate a PPS signal. | ||||
* | examples: Avoid calculating dropped samples for negative offsets | Martin Braun | 2018-05-03 | 1 | -1/+10 |
| | | | | | | | | | | | | There are cases when the first sample after an overrun has an earlier timestamp than the timestamp of the error package. In this case, benchmark_rate would incorrectly determine the number of dropped samples, causing it to display a very large number. This is not a fix of the negative offset issue, but will avoid displaying overly pessimistic numbers dropped samples. An error message is still displayed when this happens, which aids in debugging this situation. | ||||
* | examples: Fix sleep duration in benchmark_rate | Martin Braun | 2018-05-03 | 1 | -1/+1 |
| | | | | | | The main thread sleeps while the receiver and transmitter threads are going on. This fixes the calculated time it takes in single-channel scenarios. | ||||
* | examples: Add failure modes to benchmark_rate | Martin Braun | 2018-05-03 | 1 | -20/+86 |
| | | | | | | | | | | | 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 | ||||
* | examples: Update benchmark_rate (more stats, timestamps) | Martin Braun | 2018-03-14 | 1 | -57/+111 |
| | | | | | | | | - Messages are all timestamped, enables better understanding of the output log - Less usage of Boost - More stats (differentiate between RX and TX timeouts and sequence errors) | ||||
* | examples: Fix some minor compiler warnings | Martin Braun | 2018-02-19 | 1 | -4/+7 |
| | | | | All warnings reported by MSVC. Mostly related to narrowing conversions. | ||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 1 | -1/+2 |
| | | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0. | ||||
* | Move all license headers to SPDX format. | Martin Braun | 2017-12-22 | 1 | -12/+1 |
| | |||||
* | utils: add set_thread_name API call, move thread_priority to thread | Andrej Rode | 2017-06-29 | 1 | -4/+7 |
| | |||||
* | uhd: Replaced many lexical_cast with appropriate C++11 equivalents | Martin Braun | 2017-06-29 | 1 | -5/+4 |
| | |||||
* | examples: Fixed check for setting time on PPS vs. now | Martin Braun | 2016-09-28 | 1 | -1/+6 |
| | |||||
* | examples: Added TX and RX channels args in benchmark_rate | Derek Kozel | 2016-08-29 | 1 | -13/+40 |
| | |||||
* | examples: Remove default values for subdevs in benchmark_rate | Martin Braun | 2016-08-03 | 1 | -2/+2 |
| | |||||
* | examples: Added tx and rx subdev arguments to benchmark_rate | Derek Kozel | 2016-08-03 | 1 | -0/+12 |
| | |||||
* | examples: Fixed unconditional wait for SISO case in benchmark_rate | Martin Braun | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | examples: Added late command counter to benchmark_rate | Martin Braun | 2016-07-22 | 1 | -4/+17 |
| | |||||
* | examples: Fix RX thread in benchmark_rate example so it exits when EOB is seen | michael-west | 2016-07-22 | 1 | -2/+8 |
| | |||||
* | Merge branch 'maint' | Martin Braun | 2016-05-19 | 1 | -2/+3 |
|\ | |||||
| * | examples: Increased the reference locking timeout in benchmark_rate | Paul David | 2016-05-17 | 1 | -2/+3 |
| | | |||||
| * | examples: Re-enabled better thread interruption in benchmark_rate | Martin Braun | 2016-03-17 | 1 | -32/+126 |
| | | | | | | | | | | | | | | The previous version (using atomic variables) was fine, but didn't work with all the Boost versions we currently support on the 3.9.X release line. This is a slightly less safe, but still sufficient example. | ||||
| * | Revert "examples: Modified benchmark_rate so thread interrupts cannot cause ↵ | Martin Braun | 2016-03-16 | 1 | -120/+32 |
| | | | | | | | | | | | | problems" This reverts commit 8930d853f3ee2ac91fc7fd6b41046ca972da3c3f. | ||||
| * | examples: Modified benchmark_rate so thread interrupts cannot cause problems | Martin Braun | 2016-03-14 | 1 | -32/+120 |
| | | |||||
* | | examples: Add timeouts to benchmark_rate | Martin Braun | 2016-03-21 | 1 | -1/+10 |
| | | |||||
* | | examples: Re-enabled better thread interruption in benchmark_rate | Martin Braun | 2016-03-21 | 1 | -32/+126 |
| | | | | | | | | | | | | | | The previous version (using atomic variables) was fine, but didn't work with all the Boost versions we currently support on the 3.9.X release line. This is a slightly less safe, but still sufficient example. | ||||
* | | Revert "examples: Modified benchmark_rate so thread interrupts cannot cause ↵ | Martin Braun | 2016-03-21 | 1 | -120/+32 |
| | | | | | | | | | | | | problems" This reverts commit 8930d853f3ee2ac91fc7fd6b41046ca972da3c3f. | ||||
* | | examples: Modified benchmark_rate so thread interrupts cannot cause problems | Martin Braun | 2016-03-21 | 1 | -32/+120 |
|/ | |||||
* | Corrected the UHD behavior in the event of a USB disconnect | DaulPavid | 2016-02-12 | 1 | -0/+6 |
| | |||||
* | Fixed master-specific warnings | Nicholas Corgan | 2015-03-27 | 1 | -1/+1 |
| | | | | | * MinGW: unused parameter warning, MSVC-specific pragma * MSVC: bool narrowing | ||||
* | examples: Merged benchmark_rate and transport_hammer | Martin Braun | 2014-11-13 | 1 | -13/+51 |
| | |||||
* | examples: Whitespace and other cleanup | Martin Braun | 2014-10-28 | 1 | -1/+0 |
| | |||||
* | OctoClock firmware upgrade, added host driver | Nicholas Corgan | 2014-07-23 | 1 | -1/+1 |
| | | | | | | | | | | * OctoClock can communicate with UHD over Ethernet * Can read NMEA strings from GPSDO and send to host * Added multi_usrp_clock class for clock devices * uhd::device can now filter to return only USRP devices or clock devices * New OctoClock bootloader can accept firmware download over Ethernet * Added octoclock_burn_eeprom,octoclock_firmware_burner utilities * Added test_clock_synch example to show clock API | ||||
* | uhd: Added nicer error reporting to rx examples | Martin Braun | 2014-04-10 | 1 | -1/+1 |
| | |||||
* | Merging USRP X300 and X310 support!! | Ben Hilburn | 2014-02-04 | 1 | -6/+18 |
| | |||||
* | examples: changed examples that force usage of all channels to allow user to ↵ | Nicholas Corgan | 2013-08-26 | 1 | -5/+19 |
| | | | | input which channels to use | ||||
* | uhd: benchmark use builtin samp calculation | Josh Blum | 2013-08-20 | 1 | -3/+1 |
| | |||||
* | uhd: dont handle multi-chan overflow recovery here | Josh Blum | 2013-07-19 | 1 | -8/+3 |
| | |||||
* | uhd: added new calls to streamer object + support work | Josh Blum | 2013-07-15 | 1 | -29/+33 |
| | | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API. | ||||
* | examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectively | Moritz Fischer | 2012-10-26 | 1 | -1/+2 |
| | | | | instead of 0 and 1. | ||||
* | examples: added multi-channel and host format options to benchmark | Josh Blum | 2012-04-13 | 1 | -16/+41 |
| | |||||
* | dsp rework: added otw mode for benchmark app | Josh Blum | 2012-02-03 | 1 | -6/+9 |
| | |||||
* | uhd: renamed some of the stream types and functions | Josh Blum | 2011-11-03 | 1 | -4/+4 |
| | |||||
* | uhd: updated examples to use new streamer interface | Josh Blum | 2011-11-03 | 1 | -16/+15 |
| | |||||
* | uhd: benchmark example will print help if no rate specified | Josh Blum | 2011-07-08 | 1 | -1/+1 |
| | |||||
* | uhd: on e100, this benchmark control thread should also have prio so it can ↵ | Josh Blum | 2011-06-17 | 1 | -0/+1 |
| | | | | spawn both | ||||
* | e100: implemented spi, i2c, messages w/ peek/poke | Josh Blum | 2011-06-17 | 1 | -16/+20 |
| | | | | | | | | spi and i2c are done w/ polling, but this is ok, the transactions always complete by the first check a gpio is used to wake up poll() and check for messages. messages are read using poke32, unpacked, and enqueued. | ||||
* | uhd: more benchmark tweaks, removed old benchmark rx | Josh Blum | 2011-06-15 | 1 | -7/+9 |
| | |||||
* | uhd: added dropped samples calculation to rx test | Josh Blum | 2011-06-15 | 1 | -1/+13 |
| | |||||
* | uhd: created benchmark rate app | Josh Blum | 2011-06-15 | 1 | -0/+222 |