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

Unified Diff: src/IceCfg.h

Issue 1850163003: Subzero. Outputs liveness memory usage. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes make presubmit Created 4 years, 9 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/IceCfg.cpp » ('j') | src/IceGlobalContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index f6f330909e064a7c6837871fbd0c0d2b624bca27..a7fde004937d0eb382f1e231f4f596df0601dc58 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -228,7 +228,10 @@ public:
/// Get the total amount of memory held by the per-Cfg allocator. This is
/// mostly meant for use inside a debugger.
Jim Stichnoth 2016/04/01 15:22:34 Remove the "debugger" comment.
John 2016/04/01 18:05:51 Done.
- static size_t getTotalMemoryMB();
Jim Stichnoth 2016/04/01 15:22:34 static - ah, oops! :)
John 2016/04/01 18:05:51 Acknowledged.
+ size_t getTotalMemoryMB() const;
+
+ /// Get the current memory usage due to liveness data structures.
+ size_t getLivenessMemoryMB() const;
void emit();
void emitIAS();
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceGlobalContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698