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

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

Issue 14373016: DevTools: [HeapProfiler] Provide API for heap objects tracking info. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: jank -> junk Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorHeapProfilerAgent.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": "0" }, 2 "version": { "major": "1", "minor": "0" },
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 3217 matching lines...) Expand 10 before | Expand all | Expand 10 after
3228 } 3228 }
3229 ], 3229 ],
3230 "commands": [ 3230 "commands": [
3231 { 3231 {
3232 "name": "getProfileHeaders", 3232 "name": "getProfileHeaders",
3233 "returns": [ 3233 "returns": [
3234 { "name": "headers", "type": "array", "items": { "$ref": "Pr ofileHeader"} } 3234 { "name": "headers", "type": "array", "items": { "$ref": "Pr ofileHeader"} }
3235 ] 3235 ]
3236 }, 3236 },
3237 { 3237 {
3238 "name": "startTrackingHeapObjects"
3239 },
3240 {
3241 "name": "stopTrackingHeapObjects"
3242 },
3243 {
3238 "name": "getHeapSnapshot", 3244 "name": "getHeapSnapshot",
3239 "parameters": [ 3245 "parameters": [
3240 { "name": "uid", "type": "integer" } 3246 { "name": "uid", "type": "integer" }
3241 ] 3247 ]
3242 }, 3248 },
3243 { 3249 {
3244 "name": "removeProfile", 3250 "name": "removeProfile",
3245 "parameters": [ 3251 "parameters": [
3246 { "name": "uid", "type": "integer" } 3252 { "name": "uid", "type": "integer" }
3247 ] 3253 ]
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
3300 }, 3306 },
3301 { 3307 {
3302 "name": "resetProfiles" 3308 "name": "resetProfiles"
3303 }, 3309 },
3304 { 3310 {
3305 "name": "reportHeapSnapshotProgress", 3311 "name": "reportHeapSnapshotProgress",
3306 "parameters": [ 3312 "parameters": [
3307 { "name": "done", "type": "integer" }, 3313 { "name": "done", "type": "integer" },
3308 { "name": "total", "type": "integer" } 3314 { "name": "total", "type": "integer" }
3309 ] 3315 ]
3316 },
3317 {
3318 "name": "lastSeenObjectId",
3319 "description": "If heap objects tracking has been started then b ackend regulary sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more hea pStatsUpdate events will be sent before a new lastSeenObjectId event.",
3320 "parameters": [
3321 { "name": "lastSeenObjectId", "type": "integer" },
3322 { "name": "timestamp", "type": "number" }
3323 ]
3324 },
3325 {
3326 "name": "heapStatsUpdate",
3327 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
3328 "parameters": [
3329 { "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."}
3330 ]
3310 } 3331 }
3311 ] 3332 ]
3312 }, 3333 },
3313 { 3334 {
3314 "domain": "Worker", 3335 "domain": "Worker",
3315 "hidden": true, 3336 "hidden": true,
3316 "types": [], 3337 "types": [],
3317 "commands": [ 3338 "commands": [
3318 { 3339 {
3319 "name": "enable" 3340 "name": "enable"
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
3697 ] 3718 ]
3698 } 3719 }
3699 ], 3720 ],
3700 "events": [ 3721 "events": [
3701 { 3722 {
3702 "name": "layerTreeDidChange" 3723 "name": "layerTreeDidChange"
3703 } 3724 }
3704 ] 3725 ]
3705 }] 3726 }]
3706 } 3727 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorHeapProfilerAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698