| 87 | } |
| 88 | |
| 89 | void CollectionRegistry::Unregister(const AbstractMetricDef* const metric_def) { |
| 90 | mutex_lock l(mu_); |
| 91 | registry_.erase(metric_def->name()); |
| 92 | } |
| 93 | |
| 94 | std::unique_ptr<CollectedMetrics> CollectionRegistry::CollectMetrics( |
| 95 | const CollectMetricsOptions& options) const { |
no test coverage detected