OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 * @implements {WebInspector.TargetManager.Observer} | 5 * @implements {WebInspector.TargetManager.Observer} |
6 * @implements {WebInspector.TracingManagerClient} | 6 * @implements {WebInspector.TracingManagerClient} |
7 * @unrestricted | 7 * @unrestricted |
8 */ | 8 */ |
9 WebInspector.TimelineController = class { | 9 WebInspector.TimelineController = class { |
10 /** | 10 /** |
(...skipping 26 matching lines...) Expand all Loading... |
37 '-*', 'devtools.timeline', 'v8.execute', disabledByDefault('devtools.timel
ine'), | 37 '-*', 'devtools.timeline', 'v8.execute', disabledByDefault('devtools.timel
ine'), |
38 disabledByDefault('devtools.timeline.frame'), WebInspector.TracingModel.To
pLevelEventCategory, | 38 disabledByDefault('devtools.timeline.frame'), WebInspector.TracingModel.To
pLevelEventCategory, |
39 WebInspector.TimelineModel.Category.Console, WebInspector.TimelineModel.Ca
tegory.UserTiming | 39 WebInspector.TimelineModel.Category.Console, WebInspector.TimelineModel.Ca
tegory.UserTiming |
40 ]; | 40 ]; |
41 categoriesArray.push(WebInspector.TimelineModel.Category.LatencyInfo); | 41 categoriesArray.push(WebInspector.TimelineModel.Category.LatencyInfo); |
42 | 42 |
43 if (Runtime.experiments.isEnabled('timelineFlowEvents')) { | 43 if (Runtime.experiments.isEnabled('timelineFlowEvents')) { |
44 categoriesArray.push(disabledByDefault('toplevel.flow'), disabledByDefault
('ipc.flow')); | 44 categoriesArray.push(disabledByDefault('toplevel.flow'), disabledByDefault
('ipc.flow')); |
45 } | 45 } |
46 if (Runtime.experiments.isEnabled('timelineV8RuntimeCallStats') && enableJSS
ampling) | 46 if (Runtime.experiments.isEnabled('timelineV8RuntimeCallStats') && enableJSS
ampling) |
47 categoriesArray.push(disabledByDefault('v8.runtime_stats')); | 47 categoriesArray.push(disabledByDefault('v8.runtime_stats_sampling')); |
48 if (Runtime.experiments.isEnabled('timelineTracingJSProfile') && enableJSSam
pling) { | 48 if (Runtime.experiments.isEnabled('timelineTracingJSProfile') && enableJSSam
pling) { |
49 categoriesArray.push(disabledByDefault('v8.cpu_profiler')); | 49 categoriesArray.push(disabledByDefault('v8.cpu_profiler')); |
50 if (WebInspector.moduleSetting('highResolutionCpuProfiling').get()) | 50 if (WebInspector.moduleSetting('highResolutionCpuProfiling').get()) |
51 categoriesArray.push(disabledByDefault('v8.cpu_profiler.hires')); | 51 categoriesArray.push(disabledByDefault('v8.cpu_profiler.hires')); |
52 } | 52 } |
53 if (captureCauses || enableJSSampling) | 53 if (captureCauses || enableJSSampling) |
54 categoriesArray.push(disabledByDefault('devtools.timeline.stack')); | 54 categoriesArray.push(disabledByDefault('devtools.timeline.stack')); |
55 if (captureCauses && Runtime.experiments.isEnabled('timelineInvalidationTrac
king')) | 55 if (captureCauses && Runtime.experiments.isEnabled('timelineInvalidationTrac
king')) |
56 categoriesArray.push(disabledByDefault('devtools.timeline.invalidationTrac
king')); | 56 categoriesArray.push(disabledByDefault('devtools.timeline.invalidationTrac
king')); |
57 if (capturePictures) { | 57 if (capturePictures) { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 } | 266 } |
267 | 267 |
268 /** | 268 /** |
269 * @param {number} progress | 269 * @param {number} progress |
270 * @override | 270 * @override |
271 */ | 271 */ |
272 eventsRetrievalProgress(progress) { | 272 eventsRetrievalProgress(progress) { |
273 this._delegate.loadingProgress(progress); | 273 this._delegate.loadingProgress(progress); |
274 } | 274 } |
275 }; | 275 }; |
OLD | NEW |