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

Unified Diff: vm/compiler_stats.cc

Issue 10967044: Fix the types used in bit fields. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 3 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 | vm/memory_region.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/compiler_stats.cc
===================================================================
--- vm/compiler_stats.cc (revision 12729)
+++ vm/compiler_stats.cc (working copy)
@@ -64,22 +64,24 @@
num_tokens_lookahead,
(100 * num_tokens_lookahead) / num_token_checks);
OS::Print("Source length: %"Pd" characters\n", src_length);
- intptr_t scan_usecs = scanner_timer.TotalElapsedTime();
- OS::Print("Scanner time: %"Pd" msecs\n",
+ int64_t scan_usecs = scanner_timer.TotalElapsedTime();
+ OS::Print("Scanner time: %"Pd64" msecs\n",
scan_usecs / 1000);
- intptr_t parse_usecs = parser_timer.TotalElapsedTime();
- OS::Print("Parser time: %"Pd" msecs\n",
+ int64_t parse_usecs = parser_timer.TotalElapsedTime();
+ OS::Print("Parser time: %"Pd64" msecs\n",
parse_usecs / 1000);
- intptr_t codegen_usecs = codegen_timer.TotalElapsedTime();
- OS::Print("Code gen. time: %"Pd" msecs\n",
+ int64_t codegen_usecs = codegen_timer.TotalElapsedTime();
+ OS::Print("Code gen. time: %"Pd64" msecs\n",
codegen_usecs / 1000);
- intptr_t graphbuilder_usecs = graphbuilder_timer.TotalElapsedTime();
- OS::Print(" Graph builder time: %"Pd" msecs\n", graphbuilder_usecs / 1000);
- intptr_t graphcompiler_usecs = graphcompiler_timer.TotalElapsedTime();
- OS::Print(" Graph comp. time: %"Pd" msecs\n", graphcompiler_usecs / 1000);
- intptr_t codefinalizer_usecs = codefinalizer_timer.TotalElapsedTime();
- OS::Print(" Code final. time: %"Pd" msecs\n", codefinalizer_usecs / 1000);
- OS::Print("Compilation speed: %"Pd" tokens per msec\n",
+ int64_t graphbuilder_usecs = graphbuilder_timer.TotalElapsedTime();
+ OS::Print(" Graph builder time: %"Pd64" msecs\n", graphbuilder_usecs / 1000);
+ int64_t graphcompiler_usecs = graphcompiler_timer.TotalElapsedTime();
+ OS::Print(" Graph comp. time: %"Pd64" msecs\n",
+ graphcompiler_usecs / 1000);
+ int64_t codefinalizer_usecs = codefinalizer_timer.TotalElapsedTime();
+ OS::Print(" Code final. time: %"Pd64" msecs\n",
+ codefinalizer_usecs / 1000);
+ OS::Print("Compilation speed: %"Pd64" tokens per msec\n",
1000 * num_tokens_total / (parse_usecs + codegen_usecs));
OS::Print("Code size: %"Pd" KB\n",
code_allocated / 1024);
« no previous file with comments | « no previous file | vm/memory_region.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698