40 #ifndef Foam_cpuTimeCxx_H 41 #define Foam_cpuTimeCxx_H 76 mutable value_type last_;
82 static inline double diff(
const value_type& a,
const value_type&
b);
void resetCpuTimeIncrement() const
Reset to use the current time for the increment point.
double cpuTimeIncrement() const
Return CPU time [seconds] since last call to cpuTimeIncrement(), resetCpuTimeIncrement().
cpuTimeCxx()
Construct with the current clock time.
double elapsedCpuTime() const
Return CPU time (in seconds) from the start.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
void resetCpuTime()
Reset to use the current time for the start and increment points.
Starts timing CPU usage and return elapsed time from start.