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_;
Definition StopWatch.hpp:47
StopWatch()
Default constructor.
Definition StopWatch.cpp:48
void stop()
Stops the StopWatch.
Definition StopWatch.cpp:61
double secsSinceStart()
Definition StopWatch.cpp:86
double secsSinceLast()
Definition StopWatch.cpp:70
void start()
Starts the StopWatch.
Definition StopWatch.cpp:54
Holds the implementation of the CpGrid as a pimple.
Definition CellQuadrature.cpp:68