Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
|
Kevin Millikin (Google)
2012/10/23 07:54:56
I'm not sure we do this any more. Let me ask.
| |
| 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" |
| 11 | 11 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 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. | 34 static Timer graphbuilder_timer; // Included in codegen_timer. |
| 35 static Timer graphcompiler_timer; // Included in codegen_timer. | 35 static Timer graphssa_timer; // Included in codegen_timer. |
| 36 static Timer codefinalizer_timer; // Included in codegen_timer. | 36 static Timer graphinliner_timer; // Included in codegen_timer. |
| 37 static Timer graphinliner_parse_timer; // Included in codegen_timer. | |
| 38 static Timer graphinliner_build_timer; // Included in codegen_timer. | |
| 39 static Timer graphinliner_ssa_timer; // Included in codegen_timer. | |
| 40 static Timer graphinliner_opt_timer; // Included in codegen_timer. | |
| 41 static Timer graphinliner_find_timer; // Included in codegen_timer. | |
| 42 static Timer graphinliner_plug_timer; // Included in codegen_timer. | |
| 43 static Timer graphinliner_subst_timer; // Included in codegen_timer. | |
| 44 | |
| 45 static Timer graphoptimizer_timer; // Included in codegen_timer. | |
| 46 static Timer graphcompiler_timer; // Included in codegen_timer. | |
| 47 static Timer codefinalizer_timer; // Included in codegen_timer. | |
| 37 | 48 |
| 38 static void Print(); | 49 static void Print(); |
| 39 }; | 50 }; |
| 40 | 51 |
| 41 | 52 |
| 42 } // namespace dart | 53 } // namespace dart |
| 43 | 54 |
| 44 #endif // VM_COMPILER_STATS_H_ | 55 #endif // VM_COMPILER_STATS_H_ |
| OLD | NEW |