| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 DEFINE_bool(use_osr, true, "use on-stack replacement") | 161 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 162 | 162 |
| 163 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 163 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 164 DEFINE_int(stress_runs, 0, "number of stress runs") | 164 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 165 DEFINE_bool(optimize_closures, true, "optimize closures") | 165 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 166 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 166 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
| 167 | 167 |
| 168 // Experimental profiler changes. | 168 // Experimental profiler changes. |
| 169 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") | 169 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") |
| 170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
| 171 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") |
| 171 DEFINE_bool(self_optimization, false, | 172 DEFINE_bool(self_optimization, false, |
| 172 "primitive functions trigger their own optimization") | 173 "primitive functions trigger their own optimization") |
| 173 DEFINE_bool(count_based_interrupts, false, | 174 DEFINE_bool(count_based_interrupts, false, |
| 174 "trigger profiler ticks based on counting instead of timing") | 175 "trigger profiler ticks based on counting instead of timing") |
| 175 DEFINE_bool(weighted_back_edges, false, | 176 DEFINE_bool(weighted_back_edges, false, |
| 176 "weight back edges by jump distance for interrupt triggering") | 177 "weight back edges by jump distance for interrupt triggering") |
| 177 DEFINE_int(interrupt_budget, 100, | 178 DEFINE_int(interrupt_budget, 10000, |
| 178 "execution budget before interrupt is triggered") | 179 "execution budget before interrupt is triggered") |
| 179 | 180 |
| 180 DEFINE_implication(experimental_profiler, watch_ic_patching) | 181 DEFINE_implication(experimental_profiler, watch_ic_patching) |
| 181 DEFINE_implication(experimental_profiler, self_optimization) | 182 DEFINE_implication(experimental_profiler, self_optimization) |
| 182 DEFINE_implication(experimental_profiler, count_based_interrupts) | 183 DEFINE_implication(experimental_profiler, count_based_interrupts) |
| 184 DEFINE_implication(experimental_profiler, weighted_back_edges) |
| 183 | 185 |
| 184 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 186 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
| 185 DEFINE_bool(debug_code, false, | 187 DEFINE_bool(debug_code, false, |
| 186 "generate extra code (assertions) for debugging") | 188 "generate extra code (assertions) for debugging") |
| 187 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 189 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
| 188 DEFINE_bool(enable_sse2, true, | 190 DEFINE_bool(enable_sse2, true, |
| 189 "enable use of SSE2 instructions if available") | 191 "enable use of SSE2 instructions if available") |
| 190 DEFINE_bool(enable_sse3, true, | 192 DEFINE_bool(enable_sse3, true, |
| 191 "enable use of SSE3 instructions if available") | 193 "enable use of SSE3 instructions if available") |
| 192 DEFINE_bool(enable_sse4_1, true, | 194 DEFINE_bool(enable_sse4_1, true, |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 #undef DEFINE_bool | 578 #undef DEFINE_bool |
| 577 #undef DEFINE_int | 579 #undef DEFINE_int |
| 578 #undef DEFINE_string | 580 #undef DEFINE_string |
| 579 #undef DEFINE_implication | 581 #undef DEFINE_implication |
| 580 | 582 |
| 581 #undef FLAG_MODE_DECLARE | 583 #undef FLAG_MODE_DECLARE |
| 582 #undef FLAG_MODE_DEFINE | 584 #undef FLAG_MODE_DEFINE |
| 583 #undef FLAG_MODE_DEFINE_DEFAULTS | 585 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 584 #undef FLAG_MODE_META | 586 #undef FLAG_MODE_META |
| 585 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 587 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |