49 #ifndef Foam_clockTime_H 50 #define Foam_clockTime_H double elapsedTime() const
The time [seconds] since the start point.
Access to high-resolution clock value with some basic operations. Used to calculate time durations...
void resetTime()
Reset to use the current clock value for the start and increment points.
clockTime()
Construct with the current clock value for the start point.
double timeIncrement() const
The time [seconds] since the last call to elapsedTime(), timeIncrement() or resetTime(), resetTimeIncrement()
void resetTimeIncrement() const
Reset to use the current clock value for the increment point.
Starts timing and returns elapsed time from start. Uses std::chrono::high_resolution_clock for better...