AceTime
1.1
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
|
Helper class to collect timing statistics such as min, max, average. More...
#include <TimingStats.h>
Public Member Functions | |
TimingStats () | |
Constructor. More... | |
void | reset () |
uint16_t | getMax () const |
uint16_t | getMin () const |
uint16_t | getAvg () const |
uint16_t | getExpDecayAvg () const |
An exponential decay average. More... | |
uint16_t | getCount () const |
Number of times update() was called since last reset. More... | |
uint16_t | getCounter () const |
Number of times update() was called from the beginning of time. More... | |
void | update (uint16_t duration) |
Helper class to collect timing statistics such as min, max, average.
Definition at line 19 of file TimingStats.h.
|
inline |
Constructor.
Default copy-constructor and assignment operator ok.
Definition at line 22 of file TimingStats.h.
|
inline |
Number of times update() was called since last reset.
Definition at line 44 of file TimingStats.h.
|
inline |
Number of times update() was called from the beginning of time.
Never reset. This is useful to determining how many times update() was called since it was last checked from the client code.
Definition at line 51 of file TimingStats.h.
|
inline |
An exponential decay average.
Definition at line 41 of file TimingStats.h.