Expose percent of data dropped during capture.

This commit is contained in:
Jared Boone 2016-04-27 12:04:02 -07:00
parent 11d15ec5b5
commit a72a3489cf

View File

@ -427,6 +427,10 @@ struct CaptureConfig {
fifo { nullptr } fifo { nullptr }
{ {
} }
size_t dropped_percent() const {
return baseband_bytes_dropped * 100U / baseband_bytes_received;
}
}; };
class CaptureConfigMessage : public Message { class CaptureConfigMessage : public Message {