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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 "call recompile stub directly when self-optimizing") | 209 "call recompile stub directly when self-optimizing") |
210 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 210 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
211 DEFINE_bool(count_based_interrupts, false, | 211 DEFINE_bool(count_based_interrupts, false, |
212 "trigger profiler ticks based on counting instead of timing") | 212 "trigger profiler ticks based on counting instead of timing") |
213 DEFINE_bool(interrupt_at_exit, false, | 213 DEFINE_bool(interrupt_at_exit, false, |
214 "insert an interrupt check at function exit") | 214 "insert an interrupt check at function exit") |
215 DEFINE_bool(weighted_back_edges, false, | 215 DEFINE_bool(weighted_back_edges, false, |
216 "weight back edges by jump distance for interrupt triggering") | 216 "weight back edges by jump distance for interrupt triggering") |
217 DEFINE_int(interrupt_budget, 5900, | 217 DEFINE_int(interrupt_budget, 5900, |
218 "execution budget before interrupt is triggered") | 218 "execution budget before interrupt is triggered") |
219 DEFINE_int(type_info_threshold, 40, | 219 DEFINE_int(type_info_threshold, 15, |
220 "percentage of ICs that must have type info to allow optimization") | 220 "percentage of ICs that must have type info to allow optimization") |
221 DEFINE_int(self_opt_count, 130, "call count before self-optimization") | 221 DEFINE_int(self_opt_count, 130, "call count before self-optimization") |
222 | 222 |
223 DEFINE_implication(experimental_profiler, watch_ic_patching) | 223 DEFINE_implication(experimental_profiler, watch_ic_patching) |
224 DEFINE_implication(experimental_profiler, self_optimization) | 224 DEFINE_implication(experimental_profiler, self_optimization) |
225 // Not implying direct_self_opt here because it seems to be a bad idea. | 225 // Not implying direct_self_opt here because it seems to be a bad idea. |
226 DEFINE_implication(experimental_profiler, retry_self_opt) | 226 DEFINE_implication(experimental_profiler, retry_self_opt) |
227 DEFINE_implication(experimental_profiler, count_based_interrupts) | 227 DEFINE_implication(experimental_profiler, count_based_interrupts) |
228 DEFINE_implication(experimental_profiler, interrupt_at_exit) | 228 DEFINE_implication(experimental_profiler, interrupt_at_exit) |
229 DEFINE_implication(experimental_profiler, weighted_back_edges) | 229 DEFINE_implication(experimental_profiler, weighted_back_edges) |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 #undef DEFINE_bool | 638 #undef DEFINE_bool |
639 #undef DEFINE_int | 639 #undef DEFINE_int |
640 #undef DEFINE_string | 640 #undef DEFINE_string |
641 #undef DEFINE_implication | 641 #undef DEFINE_implication |
642 | 642 |
643 #undef FLAG_MODE_DECLARE | 643 #undef FLAG_MODE_DECLARE |
644 #undef FLAG_MODE_DEFINE | 644 #undef FLAG_MODE_DEFINE |
645 #undef FLAG_MODE_DEFINE_DEFAULTS | 645 #undef FLAG_MODE_DEFINE_DEFAULTS |
646 #undef FLAG_MODE_META | 646 #undef FLAG_MODE_META |
647 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 647 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |