Home
last modified time | relevance | path

Searched refs:sample_durations (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dpowermetrics_power_monitor.py129 sample_durations = []
187 sample_durations.append(sample_duration_ms)
210 def StoreMetricAverage(metric, sample_durations, out): argument
224 assert len(metric.samples) == len(sample_durations)
227 avg += metric.samples[i] * sample_durations[i]
228 avg /= sum(sample_durations)
238 StoreMetricAverage(m, sample_durations, out_dict)