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

Unified Diff: runtime/vm/compiler_stats.h

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
Index: runtime/vm/compiler_stats.h
===================================================================
--- runtime/vm/compiler_stats.h (revision 6532)
+++ runtime/vm/compiler_stats.h (working copy)
@@ -30,6 +30,7 @@
static intptr_t code_allocated; // Bytes allocated for generated code.
static Timer parser_timer; // Cumulative runtime of parser.
static Timer scanner_timer; // Cumulative runtime of scanner.
+ static Timer codegen_timer; // Cumulative runtime of code generator.
static void Print();
};

Powered by Google App Engine
This is Rietveld 408576698