#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 57 of file SummarizingMetric.hpp.
|
inline |
Definition at line 100 of file SummarizingMetric.hpp.
|
inline |
Definition at line 126 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 161 of file SummarizingMetric.hpp.
|
inline |
Definition at line 167 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 144 of file SummarizingMetric.hpp.
|
virtual |
Definition at line 45 of file SummarizingMetricImpl.hpp.
|
inline |
Definition at line 191 of file SummarizingMetric.hpp.
|
inline |
Definition at line 185 of file SummarizingMetric.hpp.
|
inline |
Definition at line 187 of file SummarizingMetric.hpp.
|
inline |
Definition at line 174 of file SummarizingMetric.hpp.
|
inline |
Definition at line 186 of file SummarizingMetric.hpp.
|
inline |
Definition at line 188 of file SummarizingMetric.hpp.
|
inline |
Definition at line 180 of file SummarizingMetric.hpp.
|
inline |
Definition at line 193 of file SummarizingMetric.hpp.
|
inline |
Definition at line 203 of file SummarizingMetric.hpp.
|
inlineprotected |
Definition at line 67 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 136 of file SummarizingMetric.hpp.
|
inlinevirtual |
Definition at line 154 of file SummarizingMetric.hpp.
|
inlineprotected |
Definition at line 84 of file SummarizingMetric.hpp.
|
inline |
Get the current value.
Definition at line 170 of file SummarizingMetric.hpp.
|
inlineprotected |
Definition at line 80 of file SummarizingMetric.hpp.
|
protected |
Definition at line 59 of file SummarizingMetric.hpp.
|
protected |
Definition at line 63 of file SummarizingMetric.hpp.
|
protected |
Definition at line 65 of file SummarizingMetric.hpp.
|
protected |
Definition at line 62 of file SummarizingMetric.hpp.
|
protected |
Definition at line 64 of file SummarizingMetric.hpp.
|
protected |
Definition at line 61 of file SummarizingMetric.hpp.
|
protected |
Definition at line 60 of file SummarizingMetric.hpp.