| 425 | } |
| 426 | |
| 427 | void ProgressTable::MetricInfoPerHost::updateHostValue(const HostName & host, ProfileEvents::Type type, Int64 new_value, double new_time) |
| 428 | { |
| 429 | auto it = host_to_metric.find(host); |
| 430 | if (it == host_to_metric.end()) |
| 431 | it = host_to_metric.emplace(host, type).first; |
| 432 | it->second.updateValue(new_value, new_time); |
| 433 | } |
| 434 | |
| 435 | double ProgressTable::MetricInfoPerHost::getSummaryValue() const |
| 436 | { |
no test coverage detected