Go to the documentation of this file.
22 return this->
template ticksToTime(
getMin());
27 return this->
template ticksToTime(
getMax());
32 return this->
template ticksToTime(
getAverage());
37 return this->
template ticksToTime(
getTotal());
43 res += p.
print(
": count=");
45 res += p.
print(
", total=");
47 res += p.
print(
", min=");
49 res += p.
print(
", max=");
51 res += p.
print(
", average=");
NanoTime::Time< uint32_t > getMinTime() const
Definition: MinMaxTimes.h:20
size_t print(char c)
Prints a single character to output stream.
Definition: Print.h:97
MinMaxTimes(const String &title)
Definition: MinMaxTimes.h:11
The String class.
Definition: WString.h:136
T getTotal() const
Definition: MinMax.h:64
T getMax() const
Definition: MinMax.h:59
Callback timer class.
Definition: Timer.h:262
size_t printTo(Print &p) const
Definition: MinMaxTimes.h:40
void update()
Definition: MinMaxTimes.h:15
T getAverage() const
Definition: MinMax.h:97
Definition: MinMaxTimes.h:8
const String & getTitle() const
Definition: MinMax.h:45
void update(T value)
Definition: MinMax.h:84
Provides formatted output to stream.
Definition: Print.h:36
NanoTime::Time< uint32_t > getMaxTime() const
Definition: MinMaxTimes.h:25
Class to track minimum and maximum values of a set of data, with average, total and count.
Definition: MinMax.h:30
String toString() const
Definition: CallbackTimer.h:45
NanoTime::Time< uint32_t > getAverageTime() const
Definition: MinMaxTimes.h:30
NanoTime::Time< uint32_t > getTotalTime() const
Definition: MinMaxTimes.h:35
T getMin() const
Definition: MinMax.h:54
unsigned getCount() const
Definition: MinMax.h:71