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

Unified Diff: include/v8.h

Issue 10961042: Implement committed physical memory stats for Linux. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix formatting. Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 92d928b328822aaec30f9b2dc421aa2a42050d56..b6f70d0c49a7bad11c556ea44cd0c9c01348c93e 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 committed_physical_size() { return committed_physical_size_; }
Michael Starzinger 2012/09/27 09:46:16 Can we rename this to "total_physical_size"? This
alph 2012/09/27 12:51:13 Done.
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_committed_physical_size(size_t size) {
+ committed_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 committed_physical_size_;
size_t used_heap_size_;
size_t heap_size_limit_;
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698