Reset the internal time point to the current time
| 35 | Timer() { Tick(); } |
| 36 | /// Reset the internal time point to the current time |
| 37 | void Tick() { last_ = std::chrono::high_resolution_clock::now(); } |
| 38 | /// Return the duration since last call to Tick() or since the creation of |
| 39 | /// Timer. The template arg must be from Second or Millisecond or Hour. |
| 40 | /// The returned value is the count of the time metric. |
no outgoing calls