| 14982 | } |
| 14983 | |
| 14984 | void Timer::start() { |
| 14985 | m_nanoseconds = getCurrentNanosecondsSinceEpoch(); |
| 14986 | } |
| 14987 | auto Timer::getElapsedNanoseconds() const -> uint64_t { |
| 14988 | return getCurrentNanosecondsSinceEpoch() - m_nanoseconds; |
| 14989 | } |
no test coverage detected