| 186 | Stats() { Start(); } |
| 187 | |
| 188 | void Start() { |
| 189 | next_report_ = 100; |
| 190 | hist_.Clear(); |
| 191 | done_ = 0; |
| 192 | bytes_ = 0; |
| 193 | seconds_ = 0; |
| 194 | message_.clear(); |
| 195 | start_ = finish_ = last_op_finish_ = g_env->NowMicros(); |
| 196 | } |
| 197 | |
| 198 | void Merge(const Stats& other) { |
| 199 | hist_.Merge(other.hist_); |
no test coverage detected