Go to the documentation of this file.
61 timer_->resetCpuTime();
63 else if (suspend_.valid())
65 suspend_.swap(timer_);
66 timer_->resetCpuTime();
88 suspend_.swap(timer_);
97 timer_.swap(suspend_);
static constexpr const zero Zero
Global zero (0)
static void suspend()
Suspend use of timer (if active)
Starts timing CPU usage and return elapsed time from start.
~profilingPstream()
Destructor - remove global timer.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static void disable()
Remove timer for measuring communication activity.
A 1D vector of objects of type <T> with a fixed length <N>.
static void enable()
Create timer for measuring communication, or reset existing.
profilingPstream()
Construct and enable global timer.
static void resume()
Resume use of timer (if previously active)