Lines Matching refs:metrics
2 """Abstract base class for metrics."""
116 Creates the default set of metrics.
118 @param system_facade the system facade to initialize the metrics with.
138 Collects system metrics.
140 def __init__(self, system_facade, metrics = None):
146 @param metrics List of metric instances. If None, the default set will
149 self.metrics = (create_default_metric_set(system_facade)
150 if metrics is None else metrics)
154 Collects one snapshot of metrics.
156 for metric in self.metrics:
161 Writes the collected metrics using the specified writer function.
166 for metric in self.metrics: