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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10116012: Add more timing information. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « runtime/vm/flow_graph_compiler_ia32.h ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_ia32.cc
===================================================================
--- runtime/vm/flow_graph_compiler_ia32.cc (revision 6695)
+++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
@@ -7,10 +7,13 @@
#include "vm/flow_graph_compiler.h"
+#include "vm/compiler_stats.h"
#include "vm/longjump.h"
namespace dart {
+DECLARE_FLAG(bool, compiler_stats);
+
void FlowGraphCompiler::Bailout(const char* reason) {
const char* kFormat = "FlowGraphCompiler Bailout: %s.";
intptr_t len = OS::SNPrint(NULL, 0, kFormat, reason) + 1;
@@ -24,6 +27,7 @@
void FlowGraphCompiler::CompileGraph() {
+ TimerScope timer(FLAG_compiler_stats, &CompilerStats::graphcompiler_timer);
Bailout("CompileGraph");
}
@@ -33,6 +37,11 @@
}
+void FlowGraphCompiler::FinalizeStackmaps(const Code& code) {
+ UNIMPLEMENTED();
+}
+
+
void FlowGraphCompiler::FinalizeVarDescriptors(const Code& code) {
UNIMPLEMENTED();
}
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.h ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698