Statistic on a message. More...
#include <arccore/message_passing/IStat.h>
Public Member Functions | |
| OneStat (const String &name) | |
| OneStat (const String &name, Int64 msg_size, double elapsed_time) | |
| const String & | name () const |
| Name of the statistic. | |
| Int64 | nbMessage () const |
| Number of messages sent. | |
| void | setNbMessage (Int64 v) |
| Int64 | cumulativeNbMessage () const |
| Number of messages sent throughout the execution time. | |
| void | setCumulativeNbMessage (Int64 v) |
| Int64 | totalSize () const |
| Total size of messages sent. | |
| void | setTotalSize (Int64 v) |
| Int64 | cumulativeTotalSize () const |
| Total size of messages sent throughout the execution time. | |
| void | setCumulativeTotalSize (Int64 v) |
| double | totalTime () const |
| Total elapsed time. | |
| void | setTotalTime (double v) |
| double | cumulativeTotalTime () const |
| Total elapsed time throughout the program execution. | |
| void | setCumulativeTotalTime (double v) |
| void | print (std::ostream &o) |
| Prints the instance information to o. | |
| void | addMessage (Int64 msg_size, double elapsed_time) |
| Adds a message. | |
| void | resetCurrentStat () |
| Resets current statistics (non-cumulative). | |
Statistic on a message.
Definition at line 37 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inlineexplicit |
Definition at line 41 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
| Arcane::MessagePassing::OneStat::OneStat | ( | const String & | name, |
| Int64 | msg_size, | ||
| double | elapsed_time ) |
Definition at line 27 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
| void Arcane::MessagePassing::OneStat::addMessage | ( | Int64 | msg_size, |
| double | elapsed_time ) |
Adds a message.
Definition at line 38 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
Referenced by Arcane::MessagePassing::Stat::add().
|
inline |
Number of messages sent throughout the execution time.
Definition at line 56 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().
|
inline |
Total size of messages sent throughout the execution time.
Definition at line 64 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().
|
inline |
Total elapsed time throughout the program execution.
Definition at line 72 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().
|
inline |
Name of the statistic.
Definition at line 49 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().
|
inline |
Number of messages sent.
Definition at line 52 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().
| void Arcane::MessagePassing::OneStat::print | ( | std::ostream & | o | ) |
Prints the instance information to o.
Definition at line 63 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
| void Arcane::MessagePassing::OneStat::resetCurrentStat | ( | ) |
Resets current statistics (non-cumulative).
Definition at line 52 of file arccore/src/message_passing/arccore/message_passing/Stat.cc.
|
inline |
Definition at line 57 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inline |
Definition at line 65 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inline |
Definition at line 73 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inline |
Definition at line 53 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inline |
Definition at line 61 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inline |
Definition at line 69 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
|
inline |
Total size of messages sent.
Definition at line 60 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().
|
inline |
Total elapsed time.
Definition at line 68 of file arccore/src/message_passing/arccore/message_passing/IStat.h.
Referenced by Arcane::Parallel::dumpJSON().