| 22 | } |
| 23 | |
| 24 | int64_t Timer::GetMicroseconds() const |
| 25 | { |
| 26 | auto currentTime = std::chrono::high_resolution_clock::now(); |
| 27 | return std::chrono::duration_cast<std::chrono::microseconds>( |
| 28 | currentTime - mInitialTime).count(); |
| 29 | } |
| 30 | |
| 31 | int64_t Timer::GetMilliseconds() const |
| 32 | { |
no outgoing calls
no test coverage detected