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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2150803002: [DevTools] Add callFrame to CPUProfileNode & SamplingHeapProfileNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.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": "Runtime", 4 "domain": "Runtime",
5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.", 5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.",
6 "types": [ 6 "types": [
7 { 7 {
8 "id": "ScriptId", 8 "id": "ScriptId",
9 "type": "string", 9 "type": "string",
10 "description": "Unique script identifier." 10 "description": "Unique script identifier."
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 { 777 {
778 "domain": "Profiler", 778 "domain": "Profiler",
779 "dependencies": ["Runtime", "Debugger"], 779 "dependencies": ["Runtime", "Debugger"],
780 "hidden": true, 780 "hidden": true,
781 "types": [ 781 "types": [
782 { 782 {
783 "id": "CPUProfileNode", 783 "id": "CPUProfileNode",
784 "type": "object", 784 "type": "object",
785 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.", 785 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.",
786 "properties": [ 786 "properties": [
787 { "name": "functionName", "type": "string", "description": " Function name." }, 787 { "name": "callFrame", "$ref": "Runtime.CallFrame", "descrip tion": "Function location." },
788 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier." },
789 { "name": "url", "type": "string", "description": "URL." },
790 { "name": "lineNumber", "type": "integer", "description": "1 -based line number of the function start position." },
791 { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." },
792 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." }, 788 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." },
793 { "name": "children", "type": "array", "items": { "$ref": "C PUProfileNode" }, "description": "Child nodes." }, 789 { "name": "children", "type": "array", "items": { "$ref": "C PUProfileNode" }, "description": "Child nodes." },
794 { "name": "deoptReason", "type": "string", "description": "T he reason of being not optimized. The function may be deoptimized or marked as d on't optimize."}, 790 { "name": "deoptReason", "type": "string", "description": "T he reason of being not optimized. The function may be deoptimized or marked as d on't optimize."},
795 { "name": "id", "type": "integer", "description": "Unique id of the node." }, 791 { "name": "id", "type": "integer", "description": "Unique id of the node." },
796 { "name": "positionTicks", "type": "array", "items": { "$ref ": "PositionTickInfo" }, "description": "An array of source position ticks." } 792 { "name": "positionTicks", "type": "array", "items": { "$ref ": "PositionTickInfo" }, "description": "An array of source position ticks." }
797 ] 793 ]
798 }, 794 },
799 { 795 {
800 "id": "CPUProfile", 796 "id": "CPUProfile",
801 "type": "object", 797 "type": "object",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 { 867 {
872 "id": "HeapSnapshotObjectId", 868 "id": "HeapSnapshotObjectId",
873 "type": "string", 869 "type": "string",
874 "description": "Heap snapshot object id." 870 "description": "Heap snapshot object id."
875 }, 871 },
876 { 872 {
877 "id": "SamplingHeapProfileNode", 873 "id": "SamplingHeapProfileNode",
878 "type": "object", 874 "type": "object",
879 "description": "Sampling Heap Profile node. Holds callsite infor mation, allocation statistics and child nodes.", 875 "description": "Sampling Heap Profile node. Holds callsite infor mation, allocation statistics and child nodes.",
880 "properties": [ 876 "properties": [
881 { "name": "functionName", "type": "string", "description": " Function name." }, 877 { "name": "callFrame", "$ref": "Runtime.CallFrame", "descrip tion": "Function location." },
882 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier." },
883 { "name": "url", "type": "string", "description": "URL." },
884 { "name": "lineNumber", "type": "integer", "description": "1 -based line number of the function start position." },
885 { "name": "columnNumber", "type": "integer", "description": "1-based column number of the function start position." },
886 { "name": "selfSize", "type": "number", "description": "Allo cations size in bytes for the node excluding children." }, 878 { "name": "selfSize", "type": "number", "description": "Allo cations size in bytes for the node excluding children." },
887 { "name": "children", "type": "array", "items": { "$ref": "S amplingHeapProfileNode" }, "description": "Child nodes." } 879 { "name": "children", "type": "array", "items": { "$ref": "S amplingHeapProfileNode" }, "description": "Child nodes." }
888 ] 880 ]
889 }, 881 },
890 { 882 {
891 "id": "SamplingHeapProfile", 883 "id": "SamplingHeapProfile",
892 "type": "object", 884 "type": "object",
893 "description": "Profile.", 885 "description": "Profile.",
894 "properties": [ 886 "properties": [
895 { "name": "head", "$ref": "SamplingHeapProfileNode" } 887 { "name": "head", "$ref": "SamplingHeapProfileNode" }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 { 984 {
993 "name": "heapStatsUpdate", 985 "name": "heapStatsUpdate",
994 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 986 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
995 "parameters": [ 987 "parameters": [
996 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} 988 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."}
997 ] 989 ]
998 } 990 }
999 ] 991 ]
1000 }] 992 }]
1001 } 993 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698