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

Unified Diff: src/compiler/zone-pool.h

Issue 669053002: [turbofan] split compilation stats off from HStatistics and track high water marks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
Index: src/compiler/zone-pool.h
diff --git a/src/compiler/zone-pool.h b/src/compiler/zone-pool.h
index 648ab5a31479f6dedd59209e14d08ded66d20436..8b43265c1a8ae24605de403c82642243568ecad7 100644
--- a/src/compiler/zone-pool.h
+++ b/src/compiler/zone-pool.h
@@ -44,6 +44,7 @@ class ZonePool FINAL {
size_t GetMaxAllocatedBytes();
size_t GetCurrentAllocatedBytes();
+ size_t GetTotalAllocatedBytes();
private:
friend class ZonePool;
@@ -53,6 +54,7 @@ class ZonePool FINAL {
ZonePool* const zone_pool_;
InitialValues initial_values_;
+ size_t total_allocated_bytes_at_start_;
size_t max_allocated_bytes_;
DISALLOW_COPY_AND_ASSIGN(StatsScope);

Powered by Google App Engine
This is Rietveld 408576698