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

Side by Side Diff: Source/devtools/protocol.json

Issue 46663010: DevTools: Show GPU utilization bar on timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reverting the reverted container existance check. Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 2851 matching lines...) Expand 10 before | Expand all | Expand 10 after
2862 }, 2862 },
2863 { 2863 {
2864 "name": "disable", 2864 "name": "disable",
2865 "description": "Disables timeline." 2865 "description": "Disables timeline."
2866 }, 2866 },
2867 { 2867 {
2868 "name": "start", 2868 "name": "start",
2869 "parameters": [ 2869 "parameters": [
2870 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." }, 2870 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." },
2871 { "name": "bufferEvents", "optional": true, "type": "boolean ", "hidden": true, "description": "Whether instrumentation events should be buff ered and returned upon <code>stop</code> call." }, 2871 { "name": "bufferEvents", "optional": true, "type": "boolean ", "hidden": true, "description": "Whether instrumentation events should be buff ered and returned upon <code>stop</code> call." },
2872 { "name": "includeDomCounters", "optional": true, "type": "b oolean", "hidden": true, "description": "Whether DOM counters data should be inc luded into timeline events." } 2872 { "name": "includeDomCounters", "optional": true, "type": "b oolean", "hidden": true, "description": "Whether DOM counters data should be inc luded into timeline events." },
2873 { "name": "includeGpuEvents", "optional": true, "type": "boo lean", "hidden": true, "description": "Whether trace events from GPU process sho uld be collected." }
2873 ], 2874 ],
2874 "description": "Starts capturing instrumentation events." 2875 "description": "Starts capturing instrumentation events."
2875 }, 2876 },
2876 { 2877 {
2877 "name": "stop", 2878 "name": "stop",
2878 "description": "Stops capturing instrumentation events.", 2879 "description": "Stops capturing instrumentation events.",
2879 "returns": [ 2880 "returns": [
2880 { "name": "events", "type": "array", "items": { "$ref": "Tim elineEvent" }, "optional": true, "hidden": true, "description": "Timeline event record data." } 2881 { "name": "events", "type": "array", "items": { "$ref": "Tim elineEvent" }, "optional": true, "hidden": true, "description": "Timeline event record data." }
2881 ] 2882 ]
2882 } 2883 }
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
4012 ] 4013 ]
4013 } 4014 }
4014 ] 4015 ]
4015 }, 4016 },
4016 { 4017 {
4017 "domain": "Tracing", 4018 "domain": "Tracing",
4018 "hidden": true, 4019 "hidden": true,
4019 "commands": [ 4020 "commands": [
4020 { 4021 {
4021 "name": "start", 4022 "name": "start",
4022 "description": "Strart trace events collection.", 4023 "description": "Start trace events collection.",
4023 "parameters": [ 4024 "parameters": [
4024 { "name": "categories", "type": "string", "description": "Ca tegory/tag filter" } 4025 { "name": "categories", "type": "string", "description": "Ca tegory/tag filter" },
4026 { "name": "options", "type": "string", "description": "Traci ng options" }
4025 ] 4027 ]
4026 }, 4028 },
4027 { 4029 {
4028 "name": "end", 4030 "name": "end",
4029 "description": "Stop trace events collection." 4031 "description": "Stop trace events collection."
4030 } 4032 }
4031 ], 4033 ],
4032 "events": [ 4034 "events": [
4033 { 4035 {
4034 "name": "dataCollected", 4036 "name": "dataCollected",
4035 "parameters": [ 4037 "parameters": [
4036 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 4038 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
4037 ] 4039 ]
4038 }, 4040 },
4039 { 4041 {
4040 "name": "tracingComplete" 4042 "name": "tracingComplete"
4041 } 4043 }
4042 ] 4044 ]
4043 }] 4045 }]
4044 } 4046 }
OLDNEW
« Source/devtools/front_end/timelinePanel.css ('K') | « Source/devtools/front_end/timelinePanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698