Message passing manager. More...
#include <arccore/message_passing/MessagePassingMng.h>
Public Member Functions | |
| MessagePassingMng (Int32 comm_rank, Int32 comm_size, IDispatchers *d) | |
| Int32 | commRank () const override |
| Rank of this instance in the communicator. | |
| Int32 | commSize () const override |
| Number of instances in the communicator. | |
| IDispatchers * | dispatchers () override |
| ITimeMetricCollector * | timeMetricCollector () const override |
| Interface for collecting execution times (can be null). | |
| Communicator | communicator () const override |
| MPI communicator associated with this instance. | |
| void | setTimeMetricCollector (ITimeMetricCollector *c) |
| void | setCommunicator (Communicator c) |
| Public Member Functions inherited from Arcane::ReferenceCounterImpl | |
| void | addReference () |
| void | removeReference () |
| void | _internalAddReference () |
| bool | _internalRemoveReference () |
Message passing manager.
Instances of these classes must be destroyed via the mpDelete() method.
Definition at line 36 of file MessagePassingMng.h.
| Arcane::MessagePassing::MessagePassingMng::MessagePassingMng | ( | Int32 | comm_rank, |
| Int32 | comm_size, | ||
| IDispatchers * | d ) |
Definition at line 25 of file MessagePassingMng.cc.
|
override |
Definition at line 36 of file MessagePassingMng.cc.
|
inlineoverridevirtual |
Rank of this instance in the communicator.
Implements Arcane::MessagePassing::IMessagePassingMng.
Definition at line 50 of file MessagePassingMng.h.
|
inlineoverridevirtual |
Number of instances in the communicator.
Implements Arcane::MessagePassing::IMessagePassingMng.
Definition at line 51 of file MessagePassingMng.h.
|
overridevirtual |
MPI communicator associated with this instance.
The communicator is only valid if the instance is associated with an MPI implementation.
Reimplemented from Arcane::MessagePassing::IMessagePassingMng.
Definition at line 53 of file MessagePassingMng.cc.
|
overridevirtual |
Implements Arcane::MessagePassing::IMessagePassingMng.
Definition at line 47 of file MessagePassingMng.cc.
| void Arcane::MessagePassing::MessagePassingMng::setCommunicator | ( | Communicator | c | ) |
Definition at line 59 of file MessagePassingMng.cc.
| void Arcane::MessagePassing::MessagePassingMng::setTimeMetricCollector | ( | ITimeMetricCollector * | c | ) |
Definition at line 71 of file MessagePassingMng.cc.
|
overridevirtual |
Interface for collecting execution times (can be null).
Implements Arcane::MessagePassing::IMessagePassingMng.
Definition at line 65 of file MessagePassingMng.cc.