Timer manager using the MPI library. More...
#include <arcane/parallel/mpi/MpiTimerMng.h>
Public Member Functions | |
| MpiTimerMng (ITraceMng *trace) | |
| Constructs a timer linked to the subdomain mng. | |
| Public Member Functions inherited from Arcane::TimerMng | |
| TimerMng (ITraceMng *msg) | |
| Constructs a timer linked to the manager mng. | |
| void | beginTimer (Timer *timer) override |
| Attaches the timer timer to this manager. | |
| Real | endTimer (Timer *timer) override |
| Releases the timer timer. | |
| Real | getTime (Timer *timer) override |
| Time elapsed since the last call to beginTimer(). | |
| bool | hasTimer (Timer *timer) override |
| Indicates if the timer timer is registered. | |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
| Public Member Functions inherited from Arcane::ITimerMng | |
| virtual | ~ITimerMng ()=default |
| Frees resources. | |
Protected Member Functions | |
| virtual Real | _getRealTime () |
| Returns the real time. | |
| virtual void | _setRealTime () |
| Sets the real time. | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Timer manager using the MPI library.
This timer functions the same way as the base class TimerMng except for how it calculates real time, which uses the MPI_Wtime() function.
Definition at line 39 of file MpiTimerMng.h.
| Arcane::MpiTimerMng::MpiTimerMng | ( | ITraceMng * | trace | ) |
Constructs a timer linked to the subdomain mng.
Definition at line 37 of file MpiTimerMng.cc.
References Arcane::TimerMng::TimerMng().
|
virtual |
Definition at line 46 of file MpiTimerMng.cc.
|
protectedvirtual |
Returns the real time.
Reimplemented from Arcane::TimerMng.
Definition at line 61 of file MpiTimerMng.cc.
|
protectedvirtual |
Sets the real time.
Reimplemented from Arcane::TimerMng.
Definition at line 54 of file MpiTimerMng.cc.