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

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

Issue 719853003: Add source line info for JS Profiler ticks to debug protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/inspector/ScriptProfile.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3629 matching lines...) Expand 10 before | Expand all | Expand 10 after
3640 "properties": [ 3640 "properties": [
3641 { "name": "functionName", "type": "string", "description": " Function name." }, 3641 { "name": "functionName", "type": "string", "description": " Function name." },
3642 { "name": "scriptId", "$ref": "Debugger.ScriptId", "descript ion": "Script identifier." }, 3642 { "name": "scriptId", "$ref": "Debugger.ScriptId", "descript ion": "Script identifier." },
3643 { "name": "url", "type": "string", "description": "URL." }, 3643 { "name": "url", "type": "string", "description": "URL." },
3644 { "name": "lineNumber", "type": "integer", "description": "1 -based line number of the function start position." }, 3644 { "name": "lineNumber", "type": "integer", "description": "1 -based line number of the function start position." },
3645 { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." }, 3645 { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." },
3646 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." }, 3646 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." },
3647 { "name": "callUID", "type": "number", "description": "Call UID." }, 3647 { "name": "callUID", "type": "number", "description": "Call UID." },
3648 { "name": "children", "type": "array", "items": { "$ref": "C PUProfileNode" }, "description": "Child nodes." }, 3648 { "name": "children", "type": "array", "items": { "$ref": "C PUProfileNode" }, "description": "Child nodes." },
3649 { "name": "deoptReason", "type": "string", "description": "T he reason of being not optimized. The function may be deoptimized or marked as d on't optimize."}, 3649 { "name": "deoptReason", "type": "string", "description": "T he reason of being not optimized. The function may be deoptimized or marked as d on't optimize."},
3650 { "name": "id", "type": "integer", "description": "Unique id of the node." } 3650 { "name": "id", "type": "integer", "description": "Unique id of the node." },
3651 { "name": "positionTicks", "type": "array", "items": { "$ref ": "PositionTickInfo" }, "description": "An array of source position ticks." }
3651 ] 3652 ]
3652 }, 3653 },
3653 { 3654 {
3654 "id": "CPUProfile", 3655 "id": "CPUProfile",
3655 "type": "object", 3656 "type": "object",
3656 "description": "Profile.", 3657 "description": "Profile.",
3657 "properties": [ 3658 "properties": [
3658 { "name": "head", "$ref": "CPUProfileNode" }, 3659 { "name": "head", "$ref": "CPUProfileNode" },
3659 { "name": "startTime", "type": "number", "description": "Pro filing start time in seconds." }, 3660 { "name": "startTime", "type": "number", "description": "Pro filing start time in seconds." },
3660 { "name": "endTime", "type": "number", "description": "Profi ling end time in seconds." }, 3661 { "name": "endTime", "type": "number", "description": "Profi ling end time in seconds." },
3661 { "name": "samples", "optional": true, "type": "array", "ite ms": { "type": "integer" }, "description": "Ids of samples top nodes." }, 3662 { "name": "samples", "optional": true, "type": "array", "ite ms": { "type": "integer" }, "description": "Ids of samples top nodes." },
3662 { "name": "timestamps", "optional": true, "type": "array", " items": { "type": "number" }, "description": "Timestamps of the samples in micro seconds." } 3663 { "name": "timestamps", "optional": true, "type": "array", " items": { "type": "number" }, "description": "Timestamps of the samples in micro seconds." }
3663 ] 3664 ]
3665 },
3666 {
3667 "id": "PositionTickInfo",
3668 "type": "object",
3669 "description": "Specifies a number of samples attributed to a ce rtain source position.",
3670 "properties": [
3671 { "name": "line", "type": "integer", "description": "Source line number (1-based)." },
3672 { "name": "ticks", "type": "integer", "description": "Number of samples attributed to the source line." }
3673 ]
3664 } 3674 }
3665 ], 3675 ],
3666 "commands": [ 3676 "commands": [
3667 { 3677 {
3668 "name": "enable" 3678 "name": "enable"
3669 }, 3679 },
3670 { 3680 {
3671 "name": "disable" 3681 "name": "disable"
3672 }, 3682 },
3673 { 3683 {
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
4544 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } 4554 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." }
4545 ], 4555 ],
4546 "description": "Gets the state of an AnimationPlayer.", 4556 "description": "Gets the state of an AnimationPlayer.",
4547 "hidden": true 4557 "hidden": true
4548 } 4558 }
4549 ], 4559 ],
4550 "events": [ 4560 "events": [
4551 ] 4561 ]
4552 }] 4562 }]
4553 } 4563 }
OLDNEW
« no previous file with comments | « Source/core/inspector/ScriptProfile.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698