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