Index: tools/perf/metrics/histogram.py |
=================================================================== |
--- tools/perf/metrics/histogram.py (revision 217866) |
+++ tools/perf/metrics/histogram.py (working copy) |
@@ -1,7 +1,9 @@ |
# Copyright 2013 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+ |
from metrics import histogram_util |
+from telemetry.page import result_data_type |
BROWSER_HISTOGRAM = 'browser_histogram' |
RENDERER_HISTOGRAM = 'renderer_histogram' |
@@ -27,7 +29,7 @@ |
new_histogram = histogram_util.SubtractHistogram( |
data, self._start_values[page.url + self.name]) |
results.Add(self.name, self.units, new_histogram, |
- data_type='unimportant-histogram') |
+ data_type=result_data_type.UNIMPORTANT_HISTOGRAM) |
@property |
def histogram_function(self): |