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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 "try to use the dedicated run-once backend for all code") | 448 "try to use the dedicated run-once backend for all code") |
449 DEFINE_int(max_opt_count, 10, | 449 DEFINE_int(max_opt_count, 10, |
450 "maximum number of optimization attempts before giving up.") | 450 "maximum number of optimization attempts before giving up.") |
451 | 451 |
452 // compilation-cache.cc | 452 // compilation-cache.cc |
453 DEFINE_bool(compilation_cache, true, "enable compilation cache") | 453 DEFINE_bool(compilation_cache, true, "enable compilation cache") |
454 | 454 |
455 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") | 455 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") |
456 | 456 |
457 // cpu-profiler.cc | 457 // cpu-profiler.cc |
458 #if defined(ANDROID) | 458 DEFINE_int(cpu_profiler_sampling_interval, 1000, |
459 // Phones and tablets have processors that are much slower than desktop | |
460 // and laptop computers for which current heuristics are tuned. | |
461 #define DEFAULT_INTERVAL 5000 | |
462 #else | |
463 #define DEFAULT_INTERVAL 1000 | |
464 #endif | |
465 DEFINE_int(cpu_profiler_sampling_interval, DEFAULT_INTERVAL, | |
466 "CPU profiler sampling interval in microseconds") | 459 "CPU profiler sampling interval in microseconds") |
467 #undef DEFAULT_INTERVAL | |
468 | 460 |
469 // debug.cc | 461 // debug.cc |
470 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") | 462 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") |
471 DEFINE_bool(trace_js_array_abuse, false, | 463 DEFINE_bool(trace_js_array_abuse, false, |
472 "trace out-of-bounds accesses to JS arrays") | 464 "trace out-of-bounds accesses to JS arrays") |
473 DEFINE_bool(trace_external_array_abuse, false, | 465 DEFINE_bool(trace_external_array_abuse, false, |
474 "trace out-of-bounds-accesses to external arrays") | 466 "trace out-of-bounds-accesses to external arrays") |
475 DEFINE_bool(trace_array_abuse, false, | 467 DEFINE_bool(trace_array_abuse, false, |
476 "trace out-of-bounds accesses to all arrays") | 468 "trace out-of-bounds accesses to all arrays") |
477 DEFINE_implication(trace_array_abuse, trace_js_array_abuse) | 469 DEFINE_implication(trace_array_abuse, trace_js_array_abuse) |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 #undef DEFINE_ALIAS_int | 841 #undef DEFINE_ALIAS_int |
850 #undef DEFINE_ALIAS_string | 842 #undef DEFINE_ALIAS_string |
851 #undef DEFINE_ALIAS_float | 843 #undef DEFINE_ALIAS_float |
852 #undef DEFINE_ALIAS_args | 844 #undef DEFINE_ALIAS_args |
853 | 845 |
854 #undef FLAG_MODE_DECLARE | 846 #undef FLAG_MODE_DECLARE |
855 #undef FLAG_MODE_DEFINE | 847 #undef FLAG_MODE_DEFINE |
856 #undef FLAG_MODE_DEFINE_DEFAULTS | 848 #undef FLAG_MODE_DEFINE_DEFAULTS |
857 #undef FLAG_MODE_META | 849 #undef FLAG_MODE_META |
858 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 850 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |