AceButton
1.3.3
An adjustable, compact, event-driven button library for Arduino.
|
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) |
Definition at line 32 of file TimingStats.h.
|
inline |
Constructor.
Default copy-constructor and assignment operator ok.
Definition at line 35 of file TimingStats.h.
|
inline |
Number of times update() was called since last reset.
Definition at line 57 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 64 of file TimingStats.h.
|
inline |
An exponential decay average.
Definition at line 54 of file TimingStats.h.