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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/protocol-1.1/Profiler.json

Issue 2035653005: DevTools: split protocol.json into files per domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/v8_inspector/protocol-1.1/Profiler.json
diff --git a/third_party/WebKit/Source/platform/v8_inspector/protocol-1.1/Profiler.json b/third_party/WebKit/Source/platform/v8_inspector/protocol-1.1/Profiler.json
new file mode 100644
index 0000000000000000000000000000000000000000..ba4f4c41af7209871da1861ad7a17b5e4a3e786d
--- /dev/null
+++ b/third_party/WebKit/Source/platform/v8_inspector/protocol-1.1/Profiler.json
@@ -0,0 +1,205 @@
+{
+ "domain": "Profiler",
+ "version": {
+ "major": "1",
+ "minor": "1"
+ },
+ "hidden": true,
+ "types": [
+ {
+ "id": "ProfileHeader",
+ "type": "object",
+ "description": "Profile header.",
+ "properties": [
+ {
+ "name": "title",
+ "type": "string",
+ "description": "Profile title."
+ },
+ {
+ "name": "uid",
+ "type": "integer",
+ "description": "Unique identifier of the profile."
+ }
+ ]
+ },
+ {
+ "id": "CPUProfileNode",
+ "type": "object",
+ "description": "CPU Profile node. Holds callsite information, execution statistics and child nodes.",
+ "properties": [
+ {
+ "name": "functionName",
+ "type": "string",
+ "description": "Function name."
+ },
+ {
+ "name": "scriptId",
+ "$ref": "Debugger.ScriptId",
+ "description": "Script identifier."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "description": "URL."
+ },
+ {
+ "name": "lineNumber",
+ "type": "integer",
+ "description": "Line number."
+ },
+ {
+ "name": "hitCount",
+ "type": "integer",
+ "description": "Number of samples where this node was on top of the call stack."
+ },
+ {
+ "name": "callUID",
+ "type": "number",
+ "description": "Call UID."
+ },
+ {
+ "name": "children",
+ "type": "array",
+ "items": {
+ "$ref": "CPUProfileNode"
+ },
+ "description": "Child nodes."
+ },
+ {
+ "name": "deoptReason",
+ "type": "string",
+ "description": "The reason of being not optimized. The function may be deoptimized or marked as don't optimize."
+ },
+ {
+ "name": "id",
+ "optional": true,
+ "type": "integer",
+ "description": "Unique id of the node."
+ }
+ ]
+ },
+ {
+ "id": "CPUProfile",
+ "type": "object",
+ "description": "Profile.",
+ "properties": [
+ {
+ "name": "head",
+ "$ref": "CPUProfileNode"
+ },
+ {
+ "name": "startTime",
+ "type": "number",
+ "description": "Profiling start time in seconds."
+ },
+ {
+ "name": "endTime",
+ "type": "number",
+ "description": "Profiling end time in seconds."
+ },
+ {
+ "name": "samples",
+ "optional": true,
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "description": "Ids of samples top nodes."
+ }
+ ]
+ },
+ {
+ "id": "HeapSnapshotObjectId",
+ "type": "string",
+ "description": "Heap snashot object id."
+ }
+ ],
+ "commands": [
+ {
+ "name": "enable"
+ },
+ {
+ "name": "disable"
+ },
+ {
+ "name": "start"
+ },
+ {
+ "name": "stop",
+ "returns": [
+ {
+ "name": "header",
+ "$ref": "ProfileHeader",
+ "description": "The header of the recorded profile."
+ }
+ ]
+ },
+ {
+ "name": "getProfileHeaders",
+ "returns": [
+ {
+ "name": "headers",
+ "type": "array",
+ "items": {
+ "$ref": "ProfileHeader"
+ }
+ }
+ ]
+ },
+ {
+ "name": "getCPUProfile",
+ "parameters": [
+ {
+ "name": "uid",
+ "type": "integer"
+ }
+ ],
+ "returns": [
+ {
+ "name": "profile",
+ "$ref": "CPUProfile"
+ }
+ ]
+ },
+ {
+ "name": "removeProfile",
+ "parameters": [
+ {
+ "name": "type",
+ "type": "string"
+ },
+ {
+ "name": "uid",
+ "type": "integer"
+ }
+ ]
+ },
+ {
+ "name": "clearProfiles"
+ }
+ ],
+ "events": [
+ {
+ "name": "addProfileHeader",
+ "parameters": [
+ {
+ "name": "header",
+ "$ref": "ProfileHeader"
+ }
+ ]
+ },
+ {
+ "name": "setRecordingProfile",
+ "parameters": [
+ {
+ "name": "isProfiling",
+ "type": "boolean"
+ }
+ ]
+ },
+ {
+ "name": "resetProfiles"
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698