Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 522c42849245b4fc511b8f5fc9dec75531ec3b5b..c3e48c8c8d3852958321d6e2a5521fd8c70f3ae2 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -3235,6 +3235,12 @@ |
] |
}, |
{ |
+ "name": "startTrackingHeapObjects" |
+ }, |
+ { |
+ "name": "stopTrackingHeapObjects" |
+ }, |
+ { |
"name": "getHeapSnapshot", |
"parameters": [ |
{ "name": "uid", "type": "integer" } |
@@ -3307,6 +3313,21 @@ |
{ "name": "done", "type": "integer" }, |
{ "name": "total", "type": "integer" } |
] |
+ }, |
+ { |
+ "name": "lastSeenObjectId", |
+ "description": "If heap objects tracking has been started then backend 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 heapStatsUpdate events will be sent before a new lastSeenObjectId event.", |
+ "parameters": [ |
+ { "name": "lastSeenObjectId", "type": "integer" }, |
+ { "name": "timestamp", "type": "number" } |
+ ] |
+ }, |
+ { |
+ "name": "heapStatsUpdate", |
+ "description": "If heap objects tracking has been started then backend may send update for one or more fragments", |
+ "parameters": [ |
+ { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment."} |
+ ] |
} |
] |
}, |