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

Unified Diff: src/IceCfg.h

Issue 1147023007: Subzero: Basic Block Profiler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds Basic Block Profiling. Created 5 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
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index 8f74d07f1d434169c869f58359aa6bba2ccf621b..df032eff067b6a2388f192a8f87eea0ed3de5852 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -132,6 +132,9 @@ public:
bool getFocusedTiming() const { return FocusedTiming; }
void setFocusedTiming() { FocusedTiming = true; }
+ std::unique_ptr<VariableDeclarationList> profileBlocks();
+ static bool isProfileGlobal(const VariableDeclaration &Var);
+
// Passes over the CFG.
void translate();
// After the CFG is fully constructed, iterate over the nodes and

Powered by Google App Engine
This is Rietveld 408576698