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

Unified Diff: src/IceGlobalContext.h

Issue 795063003: Subzero: Add memory usage to "-szstats" output. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years 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/IceGlobalContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalContext.h
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
index 3998b5301493157a71ce435cc0b95339e023c06b..fe50b53bd20a35cf4d4ea5efedf3bb2c07a847df 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -47,16 +47,7 @@ public:
void updateFrameBytes(uint32_t Bytes) { FrameBytes += Bytes; }
void updateSpills() { ++Spills; }
void updateFills() { ++Fills; }
- void dump(const IceString &Name, Ostream &Str) {
- if (!ALLOW_DUMP)
- return;
- Str << "|" << Name << "|Inst Count |" << InstructionsEmitted << "\n";
- Str << "|" << Name << "|Regs Saved |" << RegistersSaved << "\n";
- Str << "|" << Name << "|Frame Bytes |" << FrameBytes << "\n";
- Str << "|" << Name << "|Spills |" << Spills << "\n";
- Str << "|" << Name << "|Fills |" << Fills << "\n";
- Str << "|" << Name << "|Spills+Fills|" << Spills + Fills << "\n";
- }
+ void dump(const IceString &Name, Ostream &Str);
private:
uint32_t InstructionsEmitted;
« no previous file with comments | « no previous file | src/IceGlobalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698