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

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
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 3621 matching lines...) Expand 10 before | Expand all | Expand 10 after
3632 "properties": [ 3632 "properties": [
3633 { "name": "functionName", "type": "string", "description": " Function name." }, 3633 { "name": "functionName", "type": "string", "description": " Function name." },
3634 { "name": "scriptId", "$ref": "Debugger.ScriptId", "descript ion": "Script identifier." }, 3634 { "name": "scriptId", "$ref": "Debugger.ScriptId", "descript ion": "Script identifier." },
3635 { "name": "url", "type": "string", "description": "URL." }, 3635 { "name": "url", "type": "string", "description": "URL." },
3636 { "name": "lineNumber", "type": "integer", "description": "1 -based line number of the function start position." }, 3636 { "name": "lineNumber", "type": "integer", "description": "1 -based line number of the function start position." },
3637 { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." }, 3637 { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." },
3638 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." }, 3638 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." },
3639 { "name": "callUID", "type": "number", "description": "Call UID." }, 3639 { "name": "callUID", "type": "number", "description": "Call UID." },
3640 { "name": "children", "type": "array", "items": { "$ref": "C PUProfileNode" }, "description": "Child nodes." }, 3640 { "name": "children", "type": "array", "items": { "$ref": "C PUProfileNode" }, "description": "Child nodes." },
3641 { "name": "deoptReason", "type": "string", "description": "T he reason of being not optimized. The function may be deoptimized or marked as d on't optimize."}, 3641 { "name": "deoptReason", "type": "string", "description": "T he reason of being not optimized. The function may be deoptimized or marked as d on't optimize."},
3642 { "name": "id", "type": "integer", "description": "Unique id of the node." } 3642 { "name": "id", "type": "integer", "description": "Unique id of the node." },
3643 { "name": "lineTicks", "type": "array", "items": { "$ref": " LineTick" }, "description": "A set of source line ticks." }
apavlov 2014/11/13 09:08:31 "An array", to be precise
Pan 2014/11/17 01:14:22 Done.
3643 ] 3644 ]
3644 }, 3645 },
3645 { 3646 {
3646 "id": "CPUProfile", 3647 "id": "CPUProfile",
3647 "type": "object", 3648 "type": "object",
3648 "description": "Profile.", 3649 "description": "Profile.",
3649 "properties": [ 3650 "properties": [
3650 { "name": "head", "$ref": "CPUProfileNode" }, 3651 { "name": "head", "$ref": "CPUProfileNode" },
3651 { "name": "startTime", "type": "number", "description": "Pro filing start time in seconds." }, 3652 { "name": "startTime", "type": "number", "description": "Pro filing start time in seconds." },
3652 { "name": "endTime", "type": "number", "description": "Profi ling end time in seconds." }, 3653 { "name": "endTime", "type": "number", "description": "Profi ling end time in seconds." },
3653 { "name": "samples", "optional": true, "type": "array", "ite ms": { "type": "integer" }, "description": "Ids of samples top nodes." }, 3654 { "name": "samples", "optional": true, "type": "array", "ite ms": { "type": "integer" }, "description": "Ids of samples top nodes." },
3654 { "name": "timestamps", "optional": true, "type": "array", " items": { "type": "number" }, "description": "Timestamps of the samples in micro seconds." } 3655 { "name": "timestamps", "optional": true, "type": "array", " items": { "type": "number" }, "description": "Timestamps of the samples in micro seconds." }
3655 ] 3656 ]
3657 },
3658 {
3659 "id": "LineTick",
apavlov 2014/11/13 09:08:30 LineTickInfo? It is weird for a "LineTick" object
Pan 2014/11/17 01:14:22 Done.
3660 "type": "object",
3661 "description": "Specifies a number of samples attributed to a ce rtain source line.",
3662 "properties": [
3663 { "name": "line", "type": "integer", "description": "Source line number." },
apavlov 2014/11/13 09:08:31 The description should specify whether the line nu
Pan 2014/11/17 01:14:22 Done.
3664 { "name": "ticks", "type": "integer", "description": "Number of samples attributed to a source line number." }
apavlov 2014/11/13 09:08:30 "Number of samples attributed to the source line."
Pan 2014/11/17 01:14:22 Done.
3665 ]
3656 } 3666 }
3657 ], 3667 ],
3658 "commands": [ 3668 "commands": [
3659 { 3669 {
3660 "name": "enable" 3670 "name": "enable"
3661 }, 3671 },
3662 { 3672 {
3663 "name": "disable" 3673 "name": "disable"
3664 }, 3674 },
3665 { 3675 {
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
4534 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } 4544 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." }
4535 ], 4545 ],
4536 "description": "Gets the state of an AnimationPlayer.", 4546 "description": "Gets the state of an AnimationPlayer.",
4537 "hidden": true 4547 "hidden": true
4538 } 4548 }
4539 ], 4549 ],
4540 "events": [ 4550 "events": [
4541 ] 4551 ]
4542 }] 4552 }]
4543 } 4553 }
OLDNEW
« Source/core/inspector/ScriptProfile.cpp ('K') | « Source/core/inspector/ScriptProfile.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698