mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 10:09:25 -04:00
Expose percent of data dropped during capture.
This commit is contained in:
parent
11d15ec5b5
commit
a72a3489cf
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue