19 #ifndef GEOSX_STOPWATCH_HPP 20 #define GEOSX_STOPWATCH_HPP 48 m_start = std::chrono::steady_clock::now();
57 std::chrono::steady_clock::time_point
const end = std::chrono::steady_clock::now();
58 std::chrono::duration< real64 >
const diff = end - m_start;
65 std::chrono::steady_clock::time_point m_start;
real64 elapsedTime()
Return elapsed time in seconds since zero() was last called.
void zero()
Zero out the timer.
double real64
64-bit floating point type.
Class defining a simple stopwatch for interval timing.