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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 " when profiler is active (implies --noprof_auto).") | 661 " when profiler is active (implies --noprof_auto).") |
662 DEFINE_bool(prof_browser_mode, true, | 662 DEFINE_bool(prof_browser_mode, true, |
663 "Used with --prof, turns on browser-compatible mode for profiling.") | 663 "Used with --prof, turns on browser-compatible mode for profiling.") |
664 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 664 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
665 DEFINE_bool(sliding_state_window, false, | 665 DEFINE_bool(sliding_state_window, false, |
666 "Update sliding state window counters.") | 666 "Update sliding state window counters.") |
667 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 667 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
668 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 668 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
669 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 669 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
670 "Specify the name of the file for fake gc mmap used in ll_prof") | 670 "Specify the name of the file for fake gc mmap used in ll_prof") |
671 DEFINE_bool(log_timer_events, false, "Log histogram timer events.") | 671 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
| 672 DEFINE_bool(log_timer_events, false, |
| 673 "Time events including external callbacks.") |
| 674 DEFINE_implication(log_timer_events, log_internal_timer_events) |
672 | 675 |
673 // | 676 // |
674 // Disassembler only flags | 677 // Disassembler only flags |
675 // | 678 // |
676 #undef FLAG | 679 #undef FLAG |
677 #ifdef ENABLE_DISASSEMBLER | 680 #ifdef ENABLE_DISASSEMBLER |
678 #define FLAG FLAG_FULL | 681 #define FLAG FLAG_FULL |
679 #else | 682 #else |
680 #define FLAG FLAG_READONLY | 683 #define FLAG FLAG_READONLY |
681 #endif | 684 #endif |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 #undef DEFINE_bool | 726 #undef DEFINE_bool |
724 #undef DEFINE_int | 727 #undef DEFINE_int |
725 #undef DEFINE_string | 728 #undef DEFINE_string |
726 #undef DEFINE_implication | 729 #undef DEFINE_implication |
727 | 730 |
728 #undef FLAG_MODE_DECLARE | 731 #undef FLAG_MODE_DECLARE |
729 #undef FLAG_MODE_DEFINE | 732 #undef FLAG_MODE_DEFINE |
730 #undef FLAG_MODE_DEFINE_DEFAULTS | 733 #undef FLAG_MODE_DEFINE_DEFAULTS |
731 #undef FLAG_MODE_META | 734 #undef FLAG_MODE_META |
732 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 735 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |