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

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

Issue 2334233003: Merge NumericValue into Histogram (Closed)
Patch Set: fix rail_power_metric Created 4 years, 3 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.html ('k') | tracing/tracing/metrics/metric_map_function.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/cpu_process_metric_test.html
diff --git a/tracing/tracing/metrics/cpu_process_metric_test.html b/tracing/tracing/metrics/cpu_process_metric_test.html
index 201e80586ed7daa37e30a48534db6768736e7c44..a9e3dce210b1dddd0c1b60cfbefb82d029004233 100644
--- a/tracing/tracing/metrics/cpu_process_metric_test.html
+++ b/tracing/tracing/metrics/cpu_process_metric_test.html
@@ -54,7 +54,7 @@ tr.b.unittest.testSuite(function() {
assert.lengthOf(values.getValuesNamed('cpu:percent:chrome'), 1);
assert.lengthOf(values.getValuesNamed('cpu:percent:crudd'), 1);
var chromeValue = values.getValuesNamed('cpu:percent:chrome')[0];
- var chromeStatistics = chromeValue.numeric.running;
+ var chromeStatistics = chromeValue.running;
assert.strictEqual(chromeStatistics.count, 1);
assert.closeTo(chromeStatistics.mean, 0.011, 1e-5);
assert.closeTo(chromeStatistics.max, 0.011, 1e-5);
@@ -107,7 +107,7 @@ tr.b.unittest.testSuite(function() {
assert.lengthOf(values.getValuesNamed('cpu:percent:crudd'), 1);
assert.lengthOf(values.getValuesNamed('cpu:percent:mnp_logger'), 1);
var chromeValue = values.getValuesNamed('cpu:percent:chrome')[0];
- var chromeStatistics = chromeValue.numeric.running;
+ var chromeStatistics = chromeValue.running;
assert.strictEqual(chromeStatistics.count, 2);
assert.closeTo(chromeStatistics.mean, 0.0075, 1e-5);
assert.strictEqual(chromeStatistics.max, 0.008);
« no previous file with comments | « tracing/tracing/metrics/cpu_process_metric.html ('k') | tracing/tracing/metrics/metric_map_function.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698