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

Unified Diff: tracing/tracing/metrics/vr/webvr_metric.html

Issue 3012363002: Log the detailed results for each metric for diagnosing and debugging purpose. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/vr/webvr_metric.html
diff --git a/tracing/tracing/metrics/vr/webvr_metric.html b/tracing/tracing/metrics/vr/webvr_metric.html
index 3674d377455a1a3de9cb10427b646320b4499da2..aaf8e06112a0280a0e5101555d2f5df1f5c2e395 100644
--- a/tracing/tracing/metrics/vr/webvr_metric.html
+++ b/tracing/tracing/metrics/vr/webvr_metric.html
@@ -10,6 +10,7 @@ found in the LICENSE file.
<script>
'use strict';
+/* eslint-disable no-console */
tr.exportTo('tr.metrics.vr', function() {
function webvrMetric(histograms, model) {
@@ -61,6 +62,8 @@ tr.exportTo('tr.metrics.vr', function() {
name = name + '_' + seriesName;
}
+ console.log(name + ':' + samples.toString());
+
histograms.createHistogram(
name, WEBVR_COUNTERS.get(counter.id).get('unit'), samples,
WEBVR_COUNTERS.get(counter.id).get('options')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698