Simple (simplistic) mpi-profiling. More...
Public Member Functions | |
TypeName ("parProfiling") | |
parProfiling (const word &name, const Time &runTime, const dictionary &dict) | |
virtual | ~parProfiling () |
void | report () |
virtual bool | execute () |
virtual bool | write () |
virtual bool | end () |
![]() | |
declareRunTimeSelectionTable (autoPtr, functionObject, dictionary,(const word &name, const Time &runTime, const dictionary &dict),(name, runTime, dict)) | |
functionObject (const word &name, const bool withNamePrefix=defaultUseNamePrefix) | |
autoPtr< functionObject > | clone () const |
virtual | ~functionObject ()=default |
virtual const word & | type () const =0 |
const word & | name () const noexcept |
bool | useNamePrefix () const noexcept |
bool | useNamePrefix (bool on) noexcept |
virtual bool | read (const dictionary &dict) |
virtual bool | execute (const label subIndex) |
virtual bool | adjustTimeStep () |
virtual bool | filesModified () const |
virtual void | updateMesh (const mapPolyMesh &mpm) |
virtual void | movePoints (const polyMesh &mesh) |
Additional Inherited Members | |
![]() | |
static autoPtr< functionObject > | New (const word &name, const Time &runTime, const dictionary &dict) |
![]() | |
bool | log |
![]() | |
static int | debug |
static bool | postProcess |
static bool | defaultUseNamePrefix |
static word | outputPrefix |
![]() | |
word | scopedName (const word &name) const |
Simple (simplistic) mpi-profiling.
profiling { type parProfiling; libs (utilityFunctionObjects); // Report stats on exit only (instead of every time step) executeControl onEnd; writeControl none; }
Definition at line 69 of file parProfiling.H.
parProfiling | ( | const word & | name, |
const Time & | runTime, | ||
const dictionary & | dict | ||
) |
Definition at line 91 of file parProfiling.C.
|
virtual |
Definition at line 105 of file parProfiling.C.
References profilingPstream::disable().
TypeName | ( | "parProfiling" | ) |
void report | ( | ) |
Definition at line 113 of file parProfiling.C.
References profilingPstream::active(), profilingPstream::ALL_TO_ALL, Pstream::combineGather(), Foam::decrIndent(), Foam::endl(), Tuple2::first(), FixedList::first(), profilingPstream::GATHER, Foam::incrIndent(), Foam::indent(), Foam::Info, UPstream::master(), UPstream::myProcNo(), Foam::nl, UPstream::nProcs(), profilingPstream::REDUCE, profilingPstream::resume(), profilingPstream::SCATTER, Tuple2::second(), profilingPstream::suspend(), profilingPstream::times(), Foam::type(), and profilingPstream::WAIT.
|
virtual |
Implements functionObject.
Definition at line 200 of file parProfiling.C.
|
virtual |
Implements functionObject.
Definition at line 207 of file parProfiling.C.
|
virtual |
Reimplemented from functionObject.
Definition at line 213 of file parProfiling.C.
References profilingPstream::disable().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.