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

Unified Diff: runtime/vm/compiler_stats.cc

Issue 189583003: Eliminate more implicit getters (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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/compiler_stats.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler_stats.cc
===================================================================
--- runtime/vm/compiler_stats.cc (revision 33404)
+++ runtime/vm/compiler_stats.cc (working copy)
@@ -66,6 +66,12 @@
intptr_t CompilerStats::make_accessor_name = 0;
intptr_t CompilerStats::make_field_name = 0;
+intptr_t CompilerStats::num_classes_compiled = 0;
+intptr_t CompilerStats::num_functions_compiled = 0;
+
+intptr_t CompilerStats::num_implicit_final_getters = 0;
+intptr_t CompilerStats::num_static_initializer_funcs = 0;
+
void CompilerStats::Print() {
if (!FLAG_compiler_stats) {
return;
@@ -85,6 +91,11 @@
num_tokens_lookahead,
(100 * num_tokens_lookahead) / num_token_checks);
+ OS::Print("Classes parsed: %" Pd "\n", num_classes_compiled);
+ OS::Print("Functions compiled: %" Pd "\n", num_functions_compiled);
+ OS::Print(" Impl getters: %" Pd "\n", num_implicit_final_getters);
+ OS::Print(" Init funcs: %" Pd "\n", num_static_initializer_funcs);
+
OS::Print("Lib names cached: %" Pd "\n", num_names_cached);
OS::Print("Lib name cache hit: %" Pd "\n", num_lib_cache_hit);
OS::Print("Accessor mangling: %" Pd " field->acc %" Pd " acc->field\n",
« no previous file with comments | « runtime/vm/compiler_stats.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698