OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 RUNTIME_VM_FLAG_LIST_H_ | 5 #ifndef RUNTIME_VM_FLAG_LIST_H_ |
6 #define RUNTIME_VM_FLAG_LIST_H_ | 6 #define RUNTIME_VM_FLAG_LIST_H_ |
7 | 7 |
8 // Don't use USING_DBC outside of this file. | 8 // Don't use USING_DBC outside of this file. |
9 #if defined(TARGET_ARCH_DBC) | 9 #if defined(TARGET_ARCH_DBC) |
10 #define USING_DBC true | 10 #define USING_DBC true |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 R(pause_isolates_on_start, false, bool, false, \ | 116 R(pause_isolates_on_start, false, bool, false, \ |
117 "Pause isolates before starting.") \ | 117 "Pause isolates before starting.") \ |
118 R(pause_isolates_on_exit, false, bool, false, "Pause isolates exiting.") \ | 118 R(pause_isolates_on_exit, false, bool, false, "Pause isolates exiting.") \ |
119 R(pause_isolates_on_unhandled_exceptions, false, bool, false, \ | 119 R(pause_isolates_on_unhandled_exceptions, false, bool, false, \ |
120 "Pause isolates on unhandled exceptions.") \ | 120 "Pause isolates on unhandled exceptions.") \ |
121 P(polymorphic_with_deopt, bool, true, \ | 121 P(polymorphic_with_deopt, bool, true, \ |
122 "Polymorphic calls with deoptimization / megamorphic call") \ | 122 "Polymorphic calls with deoptimization / megamorphic call") \ |
123 P(precompiled_mode, bool, false, "Precompilation compiler mode") \ | 123 P(precompiled_mode, bool, false, "Precompilation compiler mode") \ |
124 C(precompiled_runtime, true, false, bool, false, "Precompiled runtime mode") \ | 124 C(precompiled_runtime, true, false, bool, false, "Precompiled runtime mode") \ |
125 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ | 125 P(print_snapshot_sizes, bool, false, "Print sizes of generated snapshots.") \ |
| 126 P(print_benchmarking_metrics, bool, false, \ |
| 127 "Print additional memory and latency metrics for benchmarking.") \ |
126 R(print_ssa_liveranges, false, bool, false, \ | 128 R(print_ssa_liveranges, false, bool, false, \ |
127 "Print live ranges after allocation.") \ | 129 "Print live ranges after allocation.") \ |
128 C(print_stop_message, false, false, bool, false, "Print stop message.") \ | 130 C(print_stop_message, false, false, bool, false, "Print stop message.") \ |
129 D(print_variable_descriptors, bool, false, \ | 131 D(print_variable_descriptors, bool, false, \ |
130 "Print variable descriptors in disassembly.") \ | 132 "Print variable descriptors in disassembly.") \ |
131 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ | 133 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ |
132 "Enable the profiler.") \ | 134 "Enable the profiler.") \ |
133 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ | 135 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ |
134 R(support_ast_printer, false, bool, true, "Support the AST printer.") \ | 136 R(support_ast_printer, false, bool, true, "Support the AST printer.") \ |
135 R(support_compiler_stats, false, bool, true, "Support compiler stats.") \ | 137 R(support_compiler_stats, false, bool, true, "Support compiler stats.") \ |
(...skipping 22 matching lines...) Expand all Loading... |
158 C(use_osr, false, true, bool, true, "Use OSR") \ | 160 C(use_osr, false, true, bool, true, "Use OSR") \ |
159 P(verbose_gc, bool, false, "Enables verbose GC.") \ | 161 P(verbose_gc, bool, false, "Enables verbose GC.") \ |
160 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 162 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
161 R(verify_after_gc, false, bool, false, \ | 163 R(verify_after_gc, false, bool, false, \ |
162 "Enables heap verification after GC.") \ | 164 "Enables heap verification after GC.") \ |
163 R(verify_before_gc, false, bool, false, \ | 165 R(verify_before_gc, false, bool, false, \ |
164 "Enables heap verification before GC.") \ | 166 "Enables heap verification before GC.") \ |
165 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 167 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
166 | 168 |
167 #endif // RUNTIME_VM_FLAG_LIST_H_ | 169 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |