32std::unique_ptr<Foam::cpuTime> Foam::profilingPstream::timer_(
nullptr);
36bool Foam::profilingPstream::suspend_(
false);
61 timer_->resetCpuTime();
75 timer_.reset(
nullptr);
A 1D vector of objects of type <T> with a fixed length <N>.
Starts timing CPU usage and return elapsed time from start.
static void enable()
Create timer for measuring communication, or reset existing.
~profilingPstream()
Destructor, disables global timer.
static void disable()
Remove timer for measuring communication activity.
profilingPstream()
Default construct, enables global timer.
static constexpr const zero Zero
Global zero (0)