35 #ifndef OPM_STOPWATCH_HEADER 36 #define OPM_STOPWATCH_HEADER 69 enum class State { UnStarted, Running, Stopped };
70 using TimePoint = std::chrono::high_resolution_clock::time_point;
72 TimePoint currentTime()
const;
75 TimePoint start_time_;
84 #endif // OPM_STOPWATCH_HEADER Definition: StopWatch.hpp:46
double secsSinceLast()
Definition: StopWatch.cpp:71
StopWatch()
Default constructor.
Definition: StopWatch.cpp:49
Definition: CellQuadrature.hpp:28
void stop()
Stops the StopWatch.
Definition: StopWatch.cpp:62
void start()
Starts the StopWatch.
Definition: StopWatch.cpp:55
double secsSinceStart()
Definition: StopWatch.cpp:87