Statistics¶
-
class Statistics¶
A snapshot keyed by the names in statistics.toml. Never printed by the library.
Public Functions
-
Statistics()¶
-
explicit Statistics(std::map<std::string, StatisticValue>)¶
-
const std::map<std::string, StatisticValue> &entries() const¶
-
StatisticValue get(std::string_view name) const¶
INVALID_ARGUMENT for an unknown name.
-
std::uint64_t uint64(std::string_view name) const¶
-
double real(std::string_view name) const¶
-
std::string str(std::string_view name) const¶
Friends
-
friend std::ostream &operator<<(std::ostream&, const Statistics&)¶
-
Statistics()¶