Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index d9a0c4e2df5b55d79ad082bab435b922d23ef148..3988a2519460bcc522093a8930dbf7b4f19ba950 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -559,6 +559,18 @@ class V8EXPORT RetainedObjectInfo { // NOLINT |
}; |
+/** |
+ * A struct for exporting HeapStats data from V8, using "push" model. |
mnaganov (inactive)
2012/04/17 13:05:15
Add "See HeapProfiler::PushHeapObjectsStats."
|
+ */ |
+struct HeapStatsUpdate { |
+ HeapStatsUpdate(uint32_t index, uint32_t count, uint32_t size) |
+ : index(index), count(count), size(size) { } |
+ uint32_t index; |
yurys
2012/04/17 12:39:54
Please comment on the fields.
|
+ uint32_t count; |
+ uint32_t size; |
+}; |
+ |
+ |
} // namespace v8 |