Go to the documentation of this file.
38 #ifndef profilingPstream_H
39 #define profilingPstream_H
79 static std::unique_ptr<cpuTime> timer_;
111 suspend_ =
bool(timer_);
121 inline static bool active()
123 return !suspend_ &&
bool(timer_);
143 (void) timer_->cpuTimeIncrement();
152 times_[idx] += timer_->cpuTimeIncrement();
static void addWaitTime()
static void beginTiming()
static double times(const enum timingType idx)
Timers and values for simple (simplistic) mpi-profiling. The entire class behaves as a singleton.
static void addScatterTime()
FixedList< double, 5 > timingList
static void addGatherTime()
static timingList & times()
static void addAllToAllTime()
static void addTime(const enum timingType idx)
static void addReduceTime()
A 1D vector of objects of type <T> with a fixed length <N>.