Searched refs:metric (Results 1 – 4 of 4) sorted by relevance
102 for (int metric = 0; metric < NUM_FIELDS; metric++) { in uploadMetrics() local103 if ((metric == RES && num_res_samples_ == 0) || kStatsSnapshotType[metric] < 0) in uploadMetrics()105 std::string log_min = "min-" + std::to_string(metric) + " "; in uploadMetrics()106 std::string log_max = "max-" + std::to_string(metric) + " "; in uploadMetrics()108 log_min += std::to_string(min_[metric][j]) + " "; in uploadMetrics()109 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()114 uploadOutlierMetric(stats_client, static_cast<sampleType>(metric)); in uploadMetrics()175 for (int metric = 0; metric < NUM_FIELDS; metric++) { in recordSample() local177 if ((metric == RES && props->batteryStatus == android::BATTERY_STATUS_CHARGING) || in recordSample()178 kStatsSnapshotType[metric] < 0) in recordSample()[all …]
67 * A detail about the metric being captured. The fields of an Attribute82 * A value of the metric. A metric may have multiple values. The84 * one value for the given metric. The fields of the Value are99 * The metric being captured. A metric must have a name and at least one100 * value. A metric may have 0 or more attributes. The fields of a Metric107 // for capturing different aspects of the same metric. E.g. capture108 // the min, max, average, count, and stdev of a particular metric.
181 * Returns the plugin-specific metrics. Multiple metric groups may be188 * @return metric_groups the collection of metric groups provided by the
226 bool ValidateMetricAttributeAndValue(const DrmMetricGroup::Metric& metric, in ValidateMetricAttributeAndValue() argument231 for (const DrmMetricGroup::Attribute& attribute : metric.attributes) { in ValidateMetricAttributeAndValue()237 for (const DrmMetricGroup::Value& value : metric.values) { in ValidateMetricAttributeAndValue()253 for (const auto& metric : group.metrics) { in ValidateMetricAttributeAndValue() local254 if (metric.name == metricName) { in ValidateMetricAttributeAndValue()256 metric, attributeName, attributeValue, in ValidateMetricAttributeAndValue()