Timers and values for simple (simplistic) mpi-profiling. The entire class behaves as a singleton. More...
Public Types | |
enum | timingType { GATHER = 0, SCATTER, REDUCE, WAIT, ALL_TO_ALL } |
typedef FixedList< double, 5 > | timingList |
Public Member Functions | |
profilingPstream () | |
~profilingPstream () | |
Static Public Member Functions | |
static void | enable () |
static void | disable () |
static void | suspend () |
static void | resume () |
static bool | active () |
static timingList & | times () |
static double | times (const enum timingType idx) |
static void | beginTiming () |
static void | addTime (const enum timingType idx) |
static void | addGatherTime () |
static void | addScatterTime () |
static void | addReduceTime () |
static void | addWaitTime () |
static void | addAllToAllTime () |
Timers and values for simple (simplistic) mpi-profiling. The entire class behaves as a singleton.
Definition at line 49 of file profilingPstream.H.
typedef FixedList<double, 5> timingList |
Definition at line 66 of file profilingPstream.H.
enum timingType |
Enumerator | |
---|---|
GATHER | |
SCATTER | |
REDUCE | |
WAIT | |
ALL_TO_ALL |
Definition at line 56 of file profilingPstream.H.
profilingPstream | ( | ) |
Definition at line 34 of file profilingPstream.C.
References profilingPstream::enable().
~profilingPstream | ( | ) |
Definition at line 42 of file profilingPstream.C.
|
static |
Definition at line 50 of file profilingPstream.C.
References Foam::Zero.
Referenced by profilingPstream::profilingPstream().
|
static |
Definition at line 66 of file profilingPstream.C.
Referenced by parProfiling::end(), and parProfiling::~parProfiling().
|
inlinestatic |
Definition at line 104 of file profilingPstream.H.
References bool.
Referenced by parProfiling::report().
|
inlinestatic |
Definition at line 110 of file profilingPstream.H.
Referenced by parProfiling::report().
|
inlinestatic |
Definition at line 116 of file profilingPstream.H.
References bool.
Referenced by profilingPstream::addTime(), profilingPstream::beginTiming(), and parProfiling::report().
|
inlinestatic |
Definition at line 122 of file profilingPstream.H.
Referenced by parProfiling::report().
|
inlinestatic |
Definition at line 128 of file profilingPstream.H.
|
inlinestatic |
Definition at line 134 of file profilingPstream.H.
References profilingPstream::active().
Referenced by UPstream::allToAll().
|
inlinestatic |
Definition at line 143 of file profilingPstream.H.
References profilingPstream::active().
Referenced by profilingPstream::addAllToAllTime(), profilingPstream::addGatherTime(), profilingPstream::addReduceTime(), profilingPstream::addScatterTime(), and profilingPstream::addWaitTime().
|
inlinestatic |
Definition at line 152 of file profilingPstream.H.
References profilingPstream::addTime(), and profilingPstream::GATHER.
|
inlinestatic |
Definition at line 158 of file profilingPstream.H.
References profilingPstream::addTime(), and profilingPstream::SCATTER.
|
inlinestatic |
Definition at line 164 of file profilingPstream.H.
References profilingPstream::addTime(), and profilingPstream::REDUCE.
|
inlinestatic |
Definition at line 170 of file profilingPstream.H.
References profilingPstream::addTime(), and profilingPstream::WAIT.
|
inlinestatic |
Definition at line 176 of file profilingPstream.H.
References profilingPstream::addTime(), and profilingPstream::ALL_TO_ALL.
Referenced by UPstream::allToAll().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.