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.
Loading...
Searching...
No Matches
stats::WindowedCounter< T > Class Template Reference

Remembers the previous reading of a free-running unsigned counter; sample() returns the delta since. More...

#include <windowed_counter.h>

Public Member Functions

T sample (T total)
 Record total as the new reading and return how much it grew since the previous call (0 first).
 

Detailed Description

template<typename T>
class stats::WindowedCounter< T >

Remembers the previous reading of a free-running unsigned counter; sample() returns the delta since.


The documentation for this class was generated from the following file: