19 #ifndef OPM_TIMERLOG_HPP 20 #define OPM_TIMERLOG_HPP 22 #include <opm/common/OpmLog/StreamLog.hpp> 39 static const std::int64_t StartTimer = INT64_C(1) << 12;
40 static const std::int64_t StopTimer = INT64_C(1) << 13;
42 explicit TimerLog(
const std::string& logFile);
49 const std::string& message)
override;
52 std::chrono::steady_clock::time_point m_start{};
53 bool m_started{
false};
Definition: StreamLog.hpp:30
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Definition: TimerLog.hpp:36
void addMessageUnconditionally(std::int64_t messageFlag, const std::string &message) override
This is the method subclasses should override.
Definition: TimerLog.cpp:49