|
Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
|
Per-window deltas of monotonically increasing counters, and the averages/percentages built on them (pure). More...
#include <cstdint>#include <type_traits>Go to the source code of this file.
Classes | |
| class | stats::WindowedCounter< T > |
| Remembers the previous reading of a free-running unsigned counter; sample() returns the delta since. More... | |
Per-window deltas of monotonically increasing counters, and the averages/percentages built on them (pure).
The periodic stats line reports what happened in the last window (about 5 s), not since boot, because since-boot averages hid slowdowns. Each reported quantity is a free-running unsigned counter (frames, bytes, microseconds); WindowedCounter remembers the previous reading and returns the difference. Unsigned subtraction stays correct across a counter wrap, as long as the counter moves less than its range per window.