Index: tools/perf/measurements/smoothness_controller.py |
diff --git a/tools/perf/measurements/smoothness_controller.py b/tools/perf/measurements/smoothness_controller.py |
index 51c2532d823fd25b13e25d5153f949b5e9ebc63c..c054ccc6e2b03b8639ec7e7937175fbabdc4734e 100644 |
--- a/tools/perf/measurements/smoothness_controller.py |
+++ b/tools/perf/measurements/smoothness_controller.py |
@@ -63,7 +63,7 @@ class SmoothnessController(object): |
if not tir_module.IsTimelineInteractionRecord(event.name): |
continue |
r = tir_module.TimelineInteractionRecord.FromAsyncEvent(event) |
- if r.logical_name == RUN_SMOOTH_ACTIONS: |
+ if r.label == RUN_SMOOTH_ACTIONS: |
assert run_smooth_actions_record is None, ( |
'SmoothnessController cannot issue more than 1 %s record' % |
RUN_SMOOTH_ACTIONS) |
@@ -88,7 +88,7 @@ class SmoothnessController(object): |
smooth_records = [run_smooth_actions_record] |
# Create an interaction_record for this legacy measurement. Since we don't |
- # wrap the results that is sent to smoothnes metric, the logical_name will |
+ # wrap the results that is sent to smoothnes metric, the label will |
# not be used. |
smoothness_metric = smoothness.SmoothnessMetric() |
smoothness_metric.AddResults( |