#include <SummarizingMetric.hpp>
Public Member Functions | |
SummarizingMetric (const char *name, T initial_value, bool reg_new=true) | |
SummarizingMetric (const SummarizingMetric &s) | |
virtual void | reset () |
virtual std::ostream & | json (std::ostream &o) const |
virtual void | sample () |
virtual SummarizingMetric< T > * | clone () const |
virtual void | merge_all (impl::MetricBase *static_stat_ptr) |
const SummarizingMetric< T > & | count () |
T | value () const |
Get the current value. More... | |
template<typename U > | |
const SummarizingMetric< T > & | operator+= (U increment) |
template<typename U > | |
const SummarizingMetric< T > & | operator-= (U decrement) |
const SummarizingMetric< T > & | operator++ () |
const SummarizingMetric< T > & | operator-- () |
T | operator++ (int) |
T | operator-- (int) |
operator T () const | |
SummarizingMetric & | operator= (const SummarizingMetric< T > &t) |
SummarizingMetric & | operator= (T value) |
Protected Member Functions | |
void | process (T t) |
double | variance () const |
double | stddev () const |
Protected Attributes | |
const T | initial_value |
T | value_ |
size_t | n |
double | mean |
double | M2 |
T | min |
T | max |
Definition at line 46 of file SummarizingMetric.hpp.
|
inline |
Definition at line 89 of file SummarizingMetric.hpp.
|
inline |
Definition at line 115 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 150 of file SummarizingMetric.hpp.
|
inline |
Definition at line 156 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 133 of file SummarizingMetric.hpp.
|
virtual |
Definition at line 34 of file SummarizingMetricImpl.hpp.
|
inline |
Definition at line 180 of file SummarizingMetric.hpp.
|
inline |
Definition at line 174 of file SummarizingMetric.hpp.
|
inline |
Definition at line 176 of file SummarizingMetric.hpp.
|
inline |
Definition at line 163 of file SummarizingMetric.hpp.
|
inline |
Definition at line 175 of file SummarizingMetric.hpp.
|
inline |
Definition at line 177 of file SummarizingMetric.hpp.
|
inline |
Definition at line 169 of file SummarizingMetric.hpp.
|
inline |
Definition at line 182 of file SummarizingMetric.hpp.
|
inline |
Definition at line 192 of file SummarizingMetric.hpp.
|
inlineprotected |
Definition at line 56 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 125 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 143 of file SummarizingMetric.hpp.
|
inlineprotected |
Definition at line 73 of file SummarizingMetric.hpp.
|
inline |
Get the current value.
Definition at line 159 of file SummarizingMetric.hpp.
|
inlineprotected |
Definition at line 69 of file SummarizingMetric.hpp.
|
protected |
Definition at line 48 of file SummarizingMetric.hpp.
|
protected |
Definition at line 52 of file SummarizingMetric.hpp.
|
protected |
Definition at line 54 of file SummarizingMetric.hpp.
|
protected |
Definition at line 51 of file SummarizingMetric.hpp.
|
protected |
Definition at line 53 of file SummarizingMetric.hpp.
|
protected |
Definition at line 50 of file SummarizingMetric.hpp.
|
protected |
Definition at line 49 of file SummarizingMetric.hpp.