| 76 | Mark(); |
| 77 | } |
| 78 | double QpcTimer::Mark() noexcept |
| 79 | { |
| 80 | const auto newTimestamp = GetCurrentTimestamp(); |
| 81 | const auto delta = TimestampDeltaToSeconds(startTimestamp_, newTimestamp, performanceCounterPeriod_); |
| 82 | startTimestamp_ = newTimestamp; |
| 83 | return delta; |
| 84 | } |
| 85 | double QpcTimer::Peek() const noexcept |
| 86 | { |
| 87 | const auto newTimestamp = GetCurrentTimestamp(); |
no test coverage detected