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(); |