Public Types | |
| using | OneStatMap = std::map<String, OneStat*> |
| DEPRECATED. | |
| typedef std::pair< String, OneStat * > | OneStatValue |
| Public Types inherited from Arcane::MessagePassing::IStat | |
| using | OneStatMap = std::map<String, OneStat*> |
Public Member Functions | |
| ~Stat () override | |
| Releases resources. | |
| void | add (const String &name, double elapsed_time, Int64 msg_size) override |
| Adds a statistic. | |
| void | enable (bool is_enabled) override |
| Enables or disables statistics. | |
| void | print (std::ostream &o) |
| const OneStatMap & | stats () const override |
| Retrieval of statistics. | |
| const StatData & | getData () const |
| const StatCollection & | statList () const override |
| Retrieval of statistics. | |
| void | resetCurrentStat () override |
| Resets current statistics. | |
| Public Member Functions inherited from Arcane::MessagePassing::IStat | |
| virtual | ~IStat ()=default |
| Frees resources. | |
| using Arcane::MessagePassing::Stat::OneStatMap = std::map<String, OneStat*> |
|
override |
Releases resources.
Definition at line 86 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
|
overridevirtual |
Adds a statistic.
| name | name of the statistic |
| elapsed_time | time used for the message |
| msg_size | size of the message sent. |
Implements Arcane::MessagePassing::IStat.
Reimplemented in Arcane::Parallel::Stat.
Definition at line 100 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
References Arcane::MessagePassing::OneStat::addMessage().
|
inlineoverridevirtual |
Enables or disables statistics.
If statistics are disabled, the call to add() has no effect.
Implements Arcane::MessagePassing::IStat.
Reimplemented in Arcane::Parallel::Stat.
|
inline |
| void Arcane::MessagePassing::Stat::print | ( | std::ostream & | o | ) |
Definition at line 115 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
|
overridevirtual |
Resets current statistics.
Implements Arcane::MessagePassing::IStat.
Definition at line 128 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
|
overridevirtual |
Retrieval of statistics.
Implements Arcane::MessagePassing::IStat.
Definition at line 216 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
Referenced by Arcane::Parallel::Stat::dumpJSON(), and Arcane::Parallel::Stat::print().
|
inlineoverridevirtual |
Retrieval of statistics.
Implements Arcane::MessagePassing::IStat.
Definition at line 97 of file Stat.h.
References stats().
Referenced by stats().