Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: tracing/tracing/metrics/metric_map_function.html

Issue 2424933003: Rename ValueSet* to HistogramSet*. (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/metrics/cpu_process_metric_test.html ('k') | tracing/tracing/metrics/metric_registry.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/metric_map_function.html
diff --git a/tracing/tracing/metrics/metric_map_function.html b/tracing/tracing/metrics/metric_map_function.html
index aa823e0924687c6b7b4297ade7fa5f9e8acbaf5b..2710585ee47c4e171f4d547b1965d786f429d0a7 100644
--- a/tracing/tracing/metrics/metric_map_function.html
+++ b/tracing/tracing/metrics/metric_map_function.html
@@ -8,7 +8,7 @@ found in the LICENSE file.
<link rel="import" href="/tracing/metrics/all_metrics.html">
<link rel="import" href="/tracing/metrics/metric_registry.html">
<link rel="import" href="/tracing/mre/function_handle.html">
-<link rel="import" href="/tracing/value/value_set.html">
+<link rel="import" href="/tracing/value/histogram_set.html">
<script>
'use strict';
@@ -18,7 +18,7 @@ tr.exportTo('tr.metrics', function() {
* @param {!tr.model.Model} model
* @param {!Object} options
* @param {!Array.<string>} options.metrics
- * @return {!tr.v.ValueSet}
+ * @return {!tr.v.HistogramSet}
*/
function runMetrics(model, options) {
if (options === undefined)
@@ -28,7 +28,7 @@ tr.exportTo('tr.metrics', function() {
if (!metricNames)
throw new Error('Metric names should be specified.');
- var values = new tr.v.ValueSet();
+ var values = new tr.v.HistogramSet();
for (var metricName of metricNames) {
var metric = tr.metrics.MetricRegistry.findTypeInfoWithName(metricName);
@@ -41,7 +41,7 @@ tr.exportTo('tr.metrics', function() {
}
/**
- * @param {!tr.v.ValueSet} values
+ * @param {!tr.v.HistogramSet} values
* @param {!tr.model.Model} model
*/
function addIterationInfo(values, model) {
@@ -56,7 +56,7 @@ tr.exportTo('tr.metrics', function() {
if (metadata.value['os-version'])
iterationInfo.addInfo(metadata.value);
}
- // Values can be separated from their ValueSet and mixed into ValueSets
+ // Values can be separated from their HistogramSet and mixed into ValueSets
// with Values from other iterations, so add IterationInfo to each Value.
for (var hist of values) {
iterationInfo.addToValue(hist);
« no previous file with comments | « tracing/tracing/metrics/cpu_process_metric_test.html ('k') | tracing/tracing/metrics/metric_registry.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698