Statistics on parallelism. More...
Public Types | |
| using | OneStatMap = std::map<String, OneStat*> |
Public Member Functions | |
| virtual | ~IStat ()=default |
| Frees resources. | |
| virtual void | add (const String &name, double elapsed_time, Int64 msg_size)=0 |
| Adds a statistic. | |
| virtual void | enable (bool is_enabled)=0 |
| Enables or disables statistics. | |
| virtual const StatCollection & | statList () const =0 |
| Retrieval of statistics. | |
| virtual void | resetCurrentStat ()=0 |
| Resets current statistics. | |
| virtual const OneStatMap & | stats () const =0 |
| Retrieval of statistics. | |
Statistics on parallelism.
Definition at line 136 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Definition at line 141 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
pure virtual |
Adds a statistic.
| name | name of the statistic |
| elapsed_time | time used for the message |
| msg_size | size of the message sent. |
Implemented in Arcane::MessagePassing::Stat, Arcane::Parallel::Stat, and Arccore::MessagePassing::Stat.
|
pure virtual |
Enables or disables statistics.
If statistics are disabled, the call to add() has no effect.
Implemented in Arcane::MessagePassing::Stat, Arcane::Parallel::Stat, and Arccore::MessagePassing::Stat.
|
pure virtual |
Resets current statistics.
Implemented in Arcane::MessagePassing::Stat, and Arccore::MessagePassing::Stat.
|
pure virtual |
Retrieval of statistics.
Implemented in Arcane::MessagePassing::Stat, and Arccore::MessagePassing::Stat.
|
pure virtual |
Retrieval of statistics.
Implemented in Arcane::MessagePassing::Stat, and Arccore::MessagePassing::Stat.
References stats().
Referenced by stats().