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

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

Issue 2279513002: DevTools: make hitCount optional & experimental in Profiler domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 { 4 {
5 "domain": "Schema", 5 "domain": "Schema",
6 "description": "Provides information about the protocol schema.", 6 "description": "Provides information about the protocol schema.",
7 "experimental": true, 7 "experimental": true,
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "Domain", 10 "id": "Domain",
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 "description": "Issued when new console message is added." 794 "description": "Issued when new console message is added."
795 } 795 }
796 ] 796 ]
797 }, 797 },
798 { 798 {
799 "domain": "Profiler", 799 "domain": "Profiler",
800 "dependencies": ["Runtime", "Debugger"], 800 "dependencies": ["Runtime", "Debugger"],
801 "experimental": true, 801 "experimental": true,
802 "types": [ 802 "types": [
803 { 803 {
804 "id": "CPUProfileNode", 804 "id": "ProfileNode",
805 "type": "object", 805 "type": "object",
806 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.", 806 "description": "Profile node. Holds callsite information, execut ion statistics and child nodes.",
807 "properties": [ 807 "properties": [
808 { "name": "id", "type": "integer", "description": "Unique id of the node." }, 808 { "name": "id", "type": "integer", "description": "Unique id of the node." },
809 { "name": "callFrame", "$ref": "Runtime.CallFrame", "descrip tion": "Function location." }, 809 { "name": "callFrame", "$ref": "Runtime.CallFrame", "descrip tion": "Function location." },
810 { "name": "hitCount", "type": "integer", "description": "Num ber of samples where this node was on top of the call stack." }, 810 { "name": "hitCount", "type": "integer", "optional": true, " experimental": true, "description": "Number of samples where this node was on to p of the call stack." },
811 { "name": "children", "type": "array", "items": { "type": "i nteger" }, "optional": true, "description": "Child node ids." }, 811 { "name": "children", "type": "array", "items": { "type": "i nteger" }, "optional": true, "description": "Child node ids." },
812 { "name": "deoptReason", "type": "string", "optional": true, "description": "The reason of being not optimized. The function may be deoptimi zed or marked as don't optimize."}, 812 { "name": "deoptReason", "type": "string", "optional": true, "description": "The reason of being not optimized. The function may be deoptimi zed or marked as don't optimize."},
813 { "name": "positionTicks", "type": "array", "items": { "$ref ": "PositionTickInfo" }, "optional": true, "experimental": true, "description": "An array of source position ticks." } 813 { "name": "positionTicks", "type": "array", "items": { "$ref ": "PositionTickInfo" }, "optional": true, "experimental": true, "description": "An array of source position ticks." }
814 ] 814 ]
815 }, 815 },
816 { 816 {
817 "id": "CPUProfile", 817 "id": "Profile",
818 "type": "object", 818 "type": "object",
819 "description": "Profile.", 819 "description": "Profile.",
820 "properties": [ 820 "properties": [
821 { "name": "nodes", "type": "array", "items": { "$ref": "CPUP rofileNode" }, "description": "The list of profile nodes. First item is the root node." }, 821 { "name": "nodes", "type": "array", "items": { "$ref": "Prof ileNode" }, "description": "The list of profile nodes. First item is the root no de." },
822 { "name": "startTime", "type": "number", "description": "Pro filing start timestamp in microseconds." }, 822 { "name": "startTime", "type": "number", "description": "Pro filing start timestamp in microseconds." },
823 { "name": "endTime", "type": "number", "description": "Profi ling end timestamp in microseconds." }, 823 { "name": "endTime", "type": "number", "description": "Profi ling end timestamp in microseconds." },
824 { "name": "samples", "optional": true, "type": "array", "ite ms": { "type": "integer" }, "description": "Ids of samples top nodes." }, 824 { "name": "samples", "optional": true, "type": "array", "ite ms": { "type": "integer" }, "description": "Ids of samples top nodes." },
825 { "name": "timestampDeltas", "optional": true, "type": "arra y", "items": { "type": "integer" }, "description": "Deltas between adjacent samp le timestamps in microseconds. The first delta is relative to the profile startT ime." } 825 { "name": "timeDeltas", "optional": true, "type": "array", " items": { "type": "integer" }, "description": "Time intervals between adjacent s amples in microseconds. The first delta is relative to the profile startTime." }
826 ] 826 ]
827 }, 827 },
828 { 828 {
829 "id": "PositionTickInfo", 829 "id": "PositionTickInfo",
830 "type": "object", 830 "type": "object",
831 "experimental": true, 831 "experimental": true,
832 "description": "Specifies a number of samples attributed to a ce rtain source position.", 832 "description": "Specifies a number of samples attributed to a ce rtain source position.",
833 "properties": [ 833 "properties": [
834 { "name": "line", "type": "integer", "description": "Source line number (1-based)." }, 834 { "name": "line", "type": "integer", "description": "Source line number (1-based)." },
835 { "name": "ticks", "type": "integer", "description": "Number of samples attributed to the source line." } 835 { "name": "ticks", "type": "integer", "description": "Number of samples attributed to the source line." }
(...skipping 13 matching lines...) Expand all
849 { "name": "interval", "type": "integer", "description": "New sampling interval in microseconds." } 849 { "name": "interval", "type": "integer", "description": "New sampling interval in microseconds." }
850 ], 850 ],
851 "description": "Changes CPU profiler sampling interval. Must be called before CPU profiles recording started." 851 "description": "Changes CPU profiler sampling interval. Must be called before CPU profiles recording started."
852 }, 852 },
853 { 853 {
854 "name": "start" 854 "name": "start"
855 }, 855 },
856 { 856 {
857 "name": "stop", 857 "name": "stop",
858 "returns": [ 858 "returns": [
859 { "name": "profile", "$ref": "CPUProfile", "description": "R ecorded profile." } 859 { "name": "profile", "$ref": "Profile", "description": "Reco rded profile." }
860 ] 860 ]
861 } 861 }
862 ], 862 ],
863 "events": [ 863 "events": [
864 { 864 {
865 "name": "consoleProfileStarted", 865 "name": "consoleProfileStarted",
866 "parameters": [ 866 "parameters": [
867 { "name": "id", "type": "string" }, 867 { "name": "id", "type": "string" },
868 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profile()." }, 868 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profile()." },
869 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as an argument to console.profile()." } 869 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as an argument to console.profile()." }
870 ], 870 ],
871 "description": "Sent when new profile recodring is started using console.profile() call." 871 "description": "Sent when new profile recodring is started using console.profile() call."
872 }, 872 },
873 { 873 {
874 "name": "consoleProfileFinished", 874 "name": "consoleProfileFinished",
875 "parameters": [ 875 "parameters": [
876 { "name": "id", "type": "string" }, 876 { "name": "id", "type": "string" },
877 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profileEnd()." }, 877 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profileEnd()." },
878 { "name": "profile", "$ref": "CPUProfile" }, 878 { "name": "profile", "$ref": "Profile" },
879 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as an argument to console.profile()." } 879 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as an argument to console.profile()." }
880 ] 880 ]
881 } 881 }
882 ] 882 ]
883 }, 883 },
884 { 884 {
885 "domain": "HeapProfiler", 885 "domain": "HeapProfiler",
886 "dependencies": ["Runtime"], 886 "dependencies": ["Runtime"],
887 "experimental": true, 887 "experimental": true,
888 "types": [ 888 "types": [
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 { 1006 {
1007 "name": "heapStatsUpdate", 1007 "name": "heapStatsUpdate",
1008 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1008 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1009 "parameters": [ 1009 "parameters": [
1010 { "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."} 1010 { "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."}
1011 ] 1011 ]
1012 } 1012 }
1013 ] 1013 ]
1014 }] 1014 }]
1015 } 1015 }
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