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

Unified Diff: telemetry/telemetry/internal/results/output_formatter.py

Issue 2538043005: Replace ValueSetOutputFormatter with HistogramSetJsonOutputFormatter. (Closed)
Patch Set: rebase Created 4 years 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
Index: telemetry/telemetry/internal/results/output_formatter.py
diff --git a/telemetry/telemetry/internal/results/output_formatter.py b/telemetry/telemetry/internal/results/output_formatter.py
index 89dcad1be4719e7bd33fddcdfab48d22f5c5a422..ccd49d28f92d6edc078b34d0ad40615da9c215ce 100644
--- a/telemetry/telemetry/internal/results/output_formatter.py
+++ b/telemetry/telemetry/internal/results/output_formatter.py
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import os
+
from telemetry.value import summary as summary_module
class OutputFormatter(object):
@@ -33,6 +35,9 @@ class OutputFormatter(object):
"""
raise NotImplementedError()
+ def PrintViewResults(self):
+ print 'View result at file://' + os.path.abspath(self.output_stream.name)
+
def FormatDisabled(self):
"""Formats disabled results into the output stream.

Powered by Google App Engine
This is Rietveld 408576698