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