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

Unified Diff: include/v8.h

Issue 2050173002: [DoNotSubmit] Added peak_memory_size to accounting-allocator. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « WATCHLISTS ('k') | include/v8-version.h » ('j') | no next file with comments »
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 1c50d9b473b916ac115e58cd2ae6f9c92990beb4..519e3a2b15cec8601bd995f88548fd294d0f9d79 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -5234,6 +5234,7 @@ class V8_EXPORT HeapStatistics {
size_t used_heap_size() { return used_heap_size_; }
size_t heap_size_limit() { return heap_size_limit_; }
size_t malloced_memory() { return malloced_memory_; }
+ size_t malloced_peak_memory() { return malloced_peak_memory_; }
size_t does_zap_garbage() { return does_zap_garbage_; }
private:
@@ -5244,6 +5245,7 @@ class V8_EXPORT HeapStatistics {
size_t used_heap_size_;
size_t heap_size_limit_;
size_t malloced_memory_;
+ size_t malloced_peak_memory_;
bool does_zap_garbage_;
friend class V8;
« no previous file with comments | « WATCHLISTS ('k') | include/v8-version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698