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

Unified Diff: runtime/vm/compiler.cc

Issue 10084014: Measure code generation time as well. (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 | « no previous file | runtime/vm/compiler_stats.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
===================================================================
--- runtime/vm/compiler.cc (revision 6532)
+++ runtime/vm/compiler.cc (working copy)
@@ -128,6 +128,8 @@
Parser::ParseFunction(&parsed_function);
parsed_function.AllocateVariables();
+ TimerScope timer(FLAG_compiler_stats, &CompilerStats::codegen_timer);
hausner 2012/04/13 17:36:02 I don't know when exactly the constructor of varia
srdjan 2012/04/13 17:38:59 Per C++ spec it cannot be called before the instru
+
bool is_compiled = false;
if (FLAG_use_new_compiler) {
ASSERT(!optimized);
« no previous file with comments | « no previous file | runtime/vm/compiler_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698