Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/flag-definitions.h

Issue 802333002: Profiler improvements (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 DEFINE_BOOL(log_code, false, 842 DEFINE_BOOL(log_code, false,
843 "Log code events to the log file without profiling.") 843 "Log code events to the log file without profiling.")
844 DEFINE_BOOL(log_gc, false, 844 DEFINE_BOOL(log_gc, false,
845 "Log heap samples on garbage collection for the hp2ps tool.") 845 "Log heap samples on garbage collection for the hp2ps tool.")
846 DEFINE_BOOL(log_handles, false, "Log global handle events.") 846 DEFINE_BOOL(log_handles, false, "Log global handle events.")
847 DEFINE_BOOL(log_snapshot_positions, false, 847 DEFINE_BOOL(log_snapshot_positions, false,
848 "log positions of (de)serialized objects in the snapshot.") 848 "log positions of (de)serialized objects in the snapshot.")
849 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") 849 DEFINE_BOOL(log_suspect, false, "Log suspect operations.")
850 DEFINE_BOOL(prof, false, 850 DEFINE_BOOL(prof, false,
851 "Log statistical profiling information (implies --log-code).") 851 "Log statistical profiling information (implies --log-code).")
852 DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.")
853 DEFINE_IMPLICATION(prof, prof_cpp)
852 DEFINE_BOOL(prof_browser_mode, true, 854 DEFINE_BOOL(prof_browser_mode, true,
853 "Used with --prof, turns on browser-compatible mode for profiling.") 855 "Used with --prof, turns on browser-compatible mode for profiling.")
854 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") 856 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.")
855 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") 857 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.")
856 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") 858 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.")
857 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") 859 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.")
858 DEFINE_BOOL(perf_basic_prof, false, 860 DEFINE_BOOL(perf_basic_prof, false,
859 "Enable perf linux profiler (basic support).") 861 "Enable perf linux profiler (basic support).")
860 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) 862 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space)
861 DEFINE_BOOL(perf_jit_prof, false, 863 DEFINE_BOOL(perf_jit_prof, false,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 #undef DEFINE_ALIAS_FLOAT 998 #undef DEFINE_ALIAS_FLOAT
997 #undef DEFINE_ALIAS_ARGS 999 #undef DEFINE_ALIAS_ARGS
998 1000
999 #undef FLAG_MODE_DECLARE 1001 #undef FLAG_MODE_DECLARE
1000 #undef FLAG_MODE_DEFINE 1002 #undef FLAG_MODE_DEFINE
1001 #undef FLAG_MODE_DEFINE_DEFAULTS 1003 #undef FLAG_MODE_DEFINE_DEFAULTS
1002 #undef FLAG_MODE_META 1004 #undef FLAG_MODE_META
1003 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1005 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1004 1006
1005 #undef COMMA 1007 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698