33 os <<
"(" <<
"#" << _data.
cnt;
47 boost::property_tree::ptree localelement;
49 localelement.put(
"avg",
avg);
50 localelement.put(
"stddev",
stddev);
51 localelement.put(
"min",
min);
52 localelement.put(
"max",
max);
53 localelement.put(
"cnt",
cnt);
55 localelement.put(
"avg",
"NaN");
56 localelement.put(
"stddev",
"NaN");
57 localelement.put(
"min",
"NaN");
58 localelement.put(
"max",
"NaN");
59 localelement.put(
"cnt", 0u);
StatisticAccumulator public header.
std::ostream & operator<<(std::ostream &os, CpuStat const &cs)
boost::property_tree::ptree asPTree() const