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

Unified Diff: src/IceCfg.cpp

Issue 1867473002: Subzero: Fix -timing-focus . (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 8 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/IceGlobalContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.cpp
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
index 4f316c1280e7f1007c6bbaf2520f1df292e37285..bb738a78c7d541b152ada34ace53659b65f3feb1 100644
--- a/src/IceCfg.cpp
+++ b/src/IceCfg.cpp
@@ -204,7 +204,6 @@ void Cfg::translate() {
if (TimingFocusOn == "*" || TimingFocusOn == Name) {
setFocusedTiming();
getContext()->resetTimer(GlobalContext::TSK_Default);
- getContext()->setTimerName(GlobalContext::TSK_Default, Name);
}
}
}
@@ -240,8 +239,7 @@ void Cfg::translate() {
dump("Final output");
if (getFocusedTiming()) {
- getContext()->mergeTimersFromTLS();
- getContext()->dumpTimers();
+ getContext()->dumpLocalTimers(getFunctionName().toString());
}
}
« no previous file with comments | « no previous file | src/IceGlobalContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698