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

Side by Side Diff: content/test/gpu/gpu_tests/trace_test.py

Issue 1231643002: [Startup Tracing][Telemetry] Move tracing_options and tracing_category_filter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « content/test/gpu/gpu_tests/memory_test.py ('k') | tools/perf/benchmarks/blob_storage.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 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 import page_sets 4 import page_sets
5 import trace_test_expectations 5 import trace_test_expectations
6 6
7 from telemetry import benchmark 7 from telemetry import benchmark
8 from telemetry.core.platform import tracing_category_filter
9 from telemetry.core.platform import tracing_options
10 from telemetry.page import page_test 8 from telemetry.page import page_test
11 from telemetry.timeline import model as model_module 9 from telemetry.timeline import model as model_module
10 from telemetry.timeline import tracing_category_filter
11 from telemetry.timeline import tracing_options
12 12
13 TOPLEVEL_GL_CATEGORY = 'gpu_toplevel' 13 TOPLEVEL_GL_CATEGORY = 'gpu_toplevel'
14 TOPLEVEL_SERVICE_CATEGORY = 'disabled-by-default-gpu.service' 14 TOPLEVEL_SERVICE_CATEGORY = 'disabled-by-default-gpu.service'
15 TOPLEVEL_DEVICE_CATEGORY = 'disabled-by-default-gpu.device' 15 TOPLEVEL_DEVICE_CATEGORY = 'disabled-by-default-gpu.device'
16 TOPLEVEL_CATEGORIES = [TOPLEVEL_SERVICE_CATEGORY, TOPLEVEL_DEVICE_CATEGORY] 16 TOPLEVEL_CATEGORIES = [TOPLEVEL_SERVICE_CATEGORY, TOPLEVEL_DEVICE_CATEGORY]
17 17
18 test_harness_script = r""" 18 test_harness_script = r"""
19 var domAutomationController = {}; 19 var domAutomationController = {};
20 20
21 domAutomationController._finished = false; 21 domAutomationController._finished = false;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 """Tests GPU Device traces show up on devices that support it.""" 99 """Tests GPU Device traces show up on devices that support it."""
100 test = _DeviceTraceValidator 100 test = _DeviceTraceValidator
101 name = 'DeviceTraceTest' 101 name = 'DeviceTraceTest'
102 102
103 @classmethod 103 @classmethod
104 def Name(cls): 104 def Name(cls):
105 return 'device_trace_test' 105 return 'device_trace_test'
106 106
107 def CreateExpectations(self): 107 def CreateExpectations(self):
108 return trace_test_expectations.DeviceTraceTestExpectations() 108 return trace_test_expectations.DeviceTraceTestExpectations()
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/memory_test.py ('k') | tools/perf/benchmarks/blob_storage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698