Interface of the variable synchronization manager. More...
#include <arcane/core/IVariableSynchronizerMng.h>
Public Member Functions | |
| virtual IParallelMng * | parallelMng () const =0 |
| Associated parallelism manager. | |
| virtual EventObservable< const VariableSynchronizerEventArgs & > & | onSynchronized ()=0 |
| Event sent at the beginning and end of synchronization. | |
| virtual void | setSynchronizationCompareLevel (Int32 v)=0 |
| Sets the comparison level between values before and after synchronization. | |
| virtual Int32 | synchronizationCompareLevel () const =0 |
| Comparison level of values before and after synchronization. | |
| virtual bool | isSynchronizationComparisonEnabled () const =0 |
| Indicates whether comparisons of values before and after synchronization are performed. | |
| virtual void | dumpStats (std::ostream &ostr) const =0 |
| Prints statistics to the stream ostr. | |
| virtual void | flushPendingStats ()=0 |
| Processes pending statistics. | |
| virtual IVariableSynchronizerMngInternal * | _internalApi ()=0 |
Interface of the variable synchronization manager.
Definition at line 33 of file IVariableSynchronizerMng.h.
|
pure virtual |
Prints statistics to the stream ostr.
Statistics must be processed via the call to flushPendingStats() before calling this method.
Implemented in Arcane::VariableSynchronizerMng.
|
pure virtual |
Processes pending statistics.
This method does nothing if isComparisonEnabled() is false.
This method is collective on parallelMng().
Implemented in Arcane::VariableSynchronizerMng.
Referenced by Arcane::TimeLoopMng::doComputeLoop().
|
pure virtual |
Indicates whether comparisons of values before and after synchronization are performed.
Implemented in Arcane::VariableSynchronizerMng.
|
pure virtual |
Event sent at the beginning and end of synchronization.
This event is sent when calling the methods IVariableSynchronizer::synchronize(IVariable* var) and IVariableSynchronizer::synchronize(VariableCollection vars) for all instances of IVariableSynchronizer.
Implemented in Arcane::VariableSynchronizerMng.
|
pure virtual |
Associated parallelism manager.
Implemented in Arcane::VariableSynchronizerMng.
|
pure virtual |
Sets the comparison level between values before and after synchronization.
The level must be the same across all ranks of parallelMng().
Implemented in Arcane::VariableSynchronizerMng.
|
pure virtual |
Comparison level of values before and after synchronization.
Implemented in Arcane::VariableSynchronizerMng.