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

Side by Side Diff: runtime/vm/compiler_stats.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_COMPILER_STATS_H_ 5 #ifndef VM_COMPILER_STATS_H_
6 #define VM_COMPILER_STATS_H_ 6 #define VM_COMPILER_STATS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/flags.h" 9 #include "vm/flags.h"
10 #include "vm/timer.h" 10 #include "vm/timer.h"
(...skipping 10 matching lines...) Expand all
21 static intptr_t num_tokens_total; 21 static intptr_t num_tokens_total;
22 static intptr_t num_literal_tokens_total; 22 static intptr_t num_literal_tokens_total;
23 static intptr_t num_ident_tokens_total; 23 static intptr_t num_ident_tokens_total;
24 static intptr_t num_tokens_consumed; 24 static intptr_t num_tokens_consumed;
25 static intptr_t num_token_checks; 25 static intptr_t num_token_checks;
26 static intptr_t num_tokens_rewind; 26 static intptr_t num_tokens_rewind;
27 static intptr_t num_tokens_lookahead; 27 static intptr_t num_tokens_lookahead;
28 28
29 static intptr_t src_length; // Total number of characters in source. 29 static intptr_t src_length; // Total number of characters in source.
30 static intptr_t code_allocated; // Bytes allocated for generated code. 30 static intptr_t code_allocated; // Bytes allocated for generated code.
31 static Timer parser_timer; // Cumulative runtime of parser. 31 static Timer parser_timer; // Cumulative runtime of parser.
32 static Timer scanner_timer; // Cumulative runtime of scanner. 32 static Timer scanner_timer; // Cumulative runtime of scanner.
33 static Timer codegen_timer; // Cumulative runtime of code generator. 33 static Timer codegen_timer; // Cumulative runtime of code generator.
34 static Timer graphbuilder_timer; // Included in codegen_timer.
35 static Timer graphcompiler_timer; // Included in codegen_timer.
36 static Timer codefinalizer_timer; // Included in codegen_timer.
34 37
35 static void Print(); 38 static void Print();
36 }; 39 };
37 40
38 41
39 } // namespace dart 42 } // namespace dart
40 43
41 #endif // VM_COMPILER_STATS_H_ 44 #endif // VM_COMPILER_STATS_H_
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698