Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index ff44fdf28730b73b329e91e032ca1c9cdb5da75e..cdfe4c50f4c62ff8e7d65e8c276a9356dd126a22 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2766,6 +2766,7 @@ class V8EXPORT HeapStatistics { |
HeapStatistics(); |
size_t total_heap_size() { return total_heap_size_; } |
size_t total_heap_size_executable() { return total_heap_size_executable_; } |
+ size_t total_physical_size() { return total_physical_size_; } |
size_t used_heap_size() { return used_heap_size_; } |
size_t heap_size_limit() { return heap_size_limit_; } |
@@ -2774,11 +2775,15 @@ class V8EXPORT HeapStatistics { |
void set_total_heap_size_executable(size_t size) { |
total_heap_size_executable_ = size; |
} |
+ void set_total_physical_size(size_t size) { |
+ total_physical_size_ = size; |
+ } |
void set_used_heap_size(size_t size) { used_heap_size_ = size; } |
void set_heap_size_limit(size_t size) { heap_size_limit_ = size; } |
size_t total_heap_size_; |
size_t total_heap_size_executable_; |
+ size_t total_physical_size_; |
size_t used_heap_size_; |
size_t heap_size_limit_; |