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