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

Side by Side Diff: tools/perf/measurements/timeline_controller.py

Issue 1067883002: [Telemetry] Add the feature of narrowing down the "gesture" interaction record to TBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix import statement in timeline_controller Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry.core.platform import tracing_category_filter 5 from telemetry.core.platform import tracing_category_filter
6 from telemetry.core.platform import tracing_options 6 from telemetry.core.platform import tracing_options
7 from telemetry.page import action_runner 7 from telemetry.page import action_runner
8 from telemetry.timeline.model import TimelineModel 8 from telemetry.timeline.model import TimelineModel
9 from telemetry.value import trace 9 from telemetry.value import trace
10 from telemetry.web_perf import smooth_gesture_util
10 from telemetry.web_perf import timeline_interaction_record as tir_module 11 from telemetry.web_perf import timeline_interaction_record as tir_module
11 12
12 from measurements import smooth_gesture_util
13
14 13
15 RUN_SMOOTH_ACTIONS = 'RunSmoothAllActions' 14 RUN_SMOOTH_ACTIONS = 'RunSmoothAllActions'
16 15
17 16
18 class TimelineController(object): 17 class TimelineController(object):
19 def __init__(self): 18 def __init__(self):
20 super(TimelineController, self).__init__() 19 super(TimelineController, self).__init__()
21 self.trace_categories = None 20 self.trace_categories = None
22 self._model = None 21 self._model = None
23 self._renderer_process = None 22 self._renderer_process = None
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 def model(self): 89 def model(self):
91 return self._model 90 return self._model
92 91
93 @property 92 @property
94 def renderer_process(self): 93 def renderer_process(self):
95 return self._renderer_process 94 return self._renderer_process
96 95
97 @property 96 @property
98 def smooth_records(self): 97 def smooth_records(self):
99 return self._smooth_records 98 return self._smooth_records
OLDNEW
« no previous file with comments | « tools/perf/measurements/smoothness_controller.py ('k') | tools/telemetry/telemetry/web_perf/smooth_gesture_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698