mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-27 14:57:12 -05:00
Expose percent of data dropped during capture.
This commit is contained in:
parent
11d15ec5b5
commit
a72a3489cf
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user