feat: the status bar and the exit dump report resequencing, holes and stale packets

This commit is contained in:
Martino Ferrari committed 2026-10-08 18:58:06 +02:00
1 parent d38ab3f9c9
commit fc81e661d0
5 files changed
+59 -2

No files matched your search

+10
View File
@@ -56,6 +56,16 @@ struct StatusSnapshot {
/// the plot.
bool paused = false;
double paused_for_s = 0.0;
/// The resequencing counters, gathered with `packets`/`frames`/`gaps` so the detail tier and
/// the dump quote one consistent set. All six zero means the stream never lost ordering, and
/// the detail tier then says nothing about it at all.
std::uint64_t resequenced = 0;
std::uint64_t late = 0;
std::uint64_t stale = 0;
std::uint64_t holes = 0;
std::uint64_t hole_slots = 0;
std::uint64_t backfilled = 0;
};
/// The bar: "live · 10 kS/s · 2 s window", plus " · event 4.2 s ago" in trigger mode, " · for