Profiling::MinMax< T > Class Template Reference
Class to track minimum and maximum values of a set of data, with average, total and count. More...
#include <MinMax.h>
Inheritance diagram for Profiling::MinMax< T >:
Collaboration diagram for Profiling::MinMax< T >:
Public Member Functions | |
MinMax (const String &title) | |
const String & | getTitle () const |
void | clear () |
void | update (T value) |
T | getMin () const |
T | getMax () const |
T | getTotal () const |
T | getAverage () const |
unsigned | getCount () const |
size_t | printTo (Print &p) const override |
Detailed Description
template<typename T>
class Profiling::MinMax< T >
Class to track minimum and maximum values of a set of data, with average, total and count.
Constructor & Destructor Documentation
◆ MinMax()
template<typename T >
|
inline |
Member Function Documentation
◆ clear()
template<typename T >
void Profiling::MinMax< T >::clear | ( | ) |
◆ getAverage()
template<typename T >
T Profiling::MinMax< T >::getAverage | ( | ) | const |
◆ getCount()
template<typename T >
|
inline |
◆ getMax()
template<typename T >
|
inline |
◆ getMin()
template<typename T >
|
inline |
◆ getTitle()
template<typename T >
|
inline |
◆ getTotal()
template<typename T >
|
inline |
◆ printTo()
template<typename T >
|
overridevirtual |
Implements Printable.
Reimplemented in Profiling::MinMaxTimes< Timer >.
◆ update()
template<typename T >
void Profiling::MinMax< T >::update | ( | T | value | ) |
The documentation for this class was generated from the following file: