Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
Stats.cxx
1
35#include "utils/Stats.hxx"
36
38
40{
41 return StringPrintf("%.1f msec +- %.1f, max %.1f\n", favg() / 1000,
42 stddev() / 1000, ((FloatType)max_) / 1000);
43}
FloatType favg()
Definition Stats.hxx:78
FloatType stddev()
Definition Stats.hxx:90
ValueType max_
Maximum value found since the last clear.
Definition Stats.hxx:104
std::string debug_string()
Creates a half-a-line printout of this stats object for debug purposes.
Definition Stats.cxx:39