Is the data coming in the buffer FIFO? Is there a way to keep track of
how much data is lost?
Yes, the data are delivered FIFO.
In UHD, you can arrange for there to be timestamps on the data, so you
could look at the data and detect interruptions in the
monotonicity.
As long as overruns aren't happening *frequently* (like more than once
every few dozen higher-layer-data-frames), then one can regard
such interrupts in data flow as equivalent to channel noise, which is
something you have to cope with *regardless*--even if your
sample stream is "perfect".
In fact, if your channel model makes brash assumptions like the only
"noise" will be from the "natural physics" of the channel, then you've
already entered a state of sin. In general, radio channels aren't
well-behaved with regard to "goop" on the channel, and I regard sampling
overruns, at a 10,000ft level, as broadly-equivalent to "channel goop".
Your mileage may vary. Void where prohibited. Batteries not included.
Some assembly required. No warantee as to fitness for a particular
purpose, etc, etc, etc :-)
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio