70class ARCCORE_MESSAGEPASSING_EXPORT
Stat
80 typedef std::pair<String, OneStat*> OneStatValue;
89 void add(
const String& name,
double elapsed_time,
Int64 msg_size)
override;
90 void enable(
bool is_enabled)
override { m_is_enabled = is_enabled; }
92 void print(std::ostream& o);
94 ARCCORE_DEPRECATED_2019(
"Use statList() instead")
95 const
OneStatMap& stats()
const override {
return m_list; }
97 ARCCORE_DEPRECATED_REASON(
"Y2023: Use statList() instead")
98 const
StatData& getData()
const {
return m_data; }
100 const StatCollection& statList()
const override;
102 void resetCurrentStat()
override;
106 bool m_is_enabled =
true;
112 OneStat* _find(
const String& name);