///////////////////////////////////////////////////////
| 33 | { |
| 34 | //////////////////////////////////////////////////////////// |
| 35 | Time Clock::getElapsedTime() const |
| 36 | { |
| 37 | if (isRunning()) |
| 38 | return std::chrono::duration_cast<std::chrono::microseconds>(priv::ClockImpl::now() - m_refPoint); |
| 39 | return std::chrono::duration_cast<std::chrono::microseconds>(m_stopPoint - m_refPoint); |
| 40 | } |
| 41 | |
| 42 | |
| 43 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected