| 12341 | } |
| 12342 | |
| 12343 | void Timer::start() { |
| 12344 | m_nanoseconds = getCurrentNanosecondsSinceEpoch(); |
| 12345 | } |
| 12346 | auto Timer::getElapsedNanoseconds() const -> uint64_t { |
| 12347 | return getCurrentNanosecondsSinceEpoch() - m_nanoseconds; |
| 12348 | } |
no test coverage detected