| 53 | } |
| 54 | |
| 55 | void Accumulator::Stop() |
| 56 | { |
| 57 | if (!started_) return; |
| 58 | accumulated_ns_ += duration_cast<nanoseconds>(system_clock::now() - begin_).count(); |
| 59 | started_ = false; |
| 60 | } |
| 61 | |
| 62 | void Accumulator::Reset() |
| 63 | { |
nothing calls this directly
no outgoing calls
no test coverage detected