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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 DEFINE_bool(always_full_compiler, false, | 429 DEFINE_bool(always_full_compiler, false, |
430 "try to use the dedicated run-once backend for all code") | 430 "try to use the dedicated run-once backend for all code") |
431 DEFINE_int(max_opt_count, 10, | 431 DEFINE_int(max_opt_count, 10, |
432 "maximum number of optimization attempts before giving up.") | 432 "maximum number of optimization attempts before giving up.") |
433 | 433 |
434 // compilation-cache.cc | 434 // compilation-cache.cc |
435 DEFINE_bool(compilation_cache, true, "enable compilation cache") | 435 DEFINE_bool(compilation_cache, true, "enable compilation cache") |
436 | 436 |
437 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") | 437 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") |
438 | 438 |
| 439 // cpu-profiler.cc |
| 440 #if defined(ANDROID) |
| 441 // Phones and tablets have processors that are much slower than desktop |
| 442 // and laptop computers for which current heuristics are tuned. |
| 443 #define DEFAULT_INTERVAL 5000 |
| 444 #else |
| 445 #define DEFAULT_INTERVAL 1000 |
| 446 #endif |
| 447 DEFINE_int(cpu_profiler_sampling_interval, DEFAULT_INTERVAL, |
| 448 "CPU profiler sampling interval in microseconds") |
| 449 #undef DEFAULT_INTERVAL |
| 450 |
439 // debug.cc | 451 // debug.cc |
440 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") | 452 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") |
441 DEFINE_bool(trace_js_array_abuse, false, | 453 DEFINE_bool(trace_js_array_abuse, false, |
442 "trace out-of-bounds accesses to JS arrays") | 454 "trace out-of-bounds accesses to JS arrays") |
443 DEFINE_bool(trace_external_array_abuse, false, | 455 DEFINE_bool(trace_external_array_abuse, false, |
444 "trace out-of-bounds-accesses to external arrays") | 456 "trace out-of-bounds-accesses to external arrays") |
445 DEFINE_bool(trace_array_abuse, false, | 457 DEFINE_bool(trace_array_abuse, false, |
446 "trace out-of-bounds accesses to all arrays") | 458 "trace out-of-bounds accesses to all arrays") |
447 DEFINE_implication(trace_array_abuse, trace_js_array_abuse) | 459 DEFINE_implication(trace_array_abuse, trace_js_array_abuse) |
448 DEFINE_implication(trace_array_abuse, trace_external_array_abuse) | 460 DEFINE_implication(trace_array_abuse, trace_external_array_abuse) |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 #undef DEFINE_bool | 825 #undef DEFINE_bool |
814 #undef DEFINE_int | 826 #undef DEFINE_int |
815 #undef DEFINE_string | 827 #undef DEFINE_string |
816 #undef DEFINE_implication | 828 #undef DEFINE_implication |
817 | 829 |
818 #undef FLAG_MODE_DECLARE | 830 #undef FLAG_MODE_DECLARE |
819 #undef FLAG_MODE_DEFINE | 831 #undef FLAG_MODE_DEFINE |
820 #undef FLAG_MODE_DEFINE_DEFAULTS | 832 #undef FLAG_MODE_DEFINE_DEFAULTS |
821 #undef FLAG_MODE_META | 833 #undef FLAG_MODE_META |
822 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 834 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |