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

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

Issue 593563005: [turbofan] basic block profiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: unit test file Created 6 years, 2 months 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 | Annotate | Revision Log
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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan") 342 DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan")
343 #endif 343 #endif
344 DEFINE_BOOL(turbo_source_positions, false, 344 DEFINE_BOOL(turbo_source_positions, false,
345 "track source code positions when building TurboFan IR") 345 "track source code positions when building TurboFan IR")
346 DEFINE_BOOL(context_specialization, false, 346 DEFINE_BOOL(context_specialization, false,
347 "enable context specialization in TurboFan") 347 "enable context specialization in TurboFan")
348 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") 348 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan")
349 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") 349 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan")
350 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") 350 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining")
351 DEFINE_IMPLICATION(turbo_inlining, turbo_types) 351 DEFINE_IMPLICATION(turbo_inlining, turbo_types)
352 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan")
353 DEFINE_STRING(turbo_profiling_filter, "*", "profiling filter in TurboFan")
titzer 2014/09/24 14:59:31 Let's just profile it all...
dcarney 2014/09/25 08:15:15 okay, but I've found it useful to limit the output
titzer 2014/09/25 09:13:59 Ok, you can leave it in.
352 354
353 DEFINE_INT(typed_array_max_size_in_heap, 64, 355 DEFINE_INT(typed_array_max_size_in_heap, 64,
354 "threshold for in-heap typed array") 356 "threshold for in-heap typed array")
355 357
356 // Profiler flags. 358 // Profiler flags.
357 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") 359 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
358 // 0x1800 fits in the immediate field of an ARM instruction. 360 // 0x1800 fits in the immediate field of an ARM instruction.
359 DEFINE_INT(interrupt_budget, 0x1800, 361 DEFINE_INT(interrupt_budget, 0x1800,
360 "execution budget before interrupt is triggered") 362 "execution budget before interrupt is triggered")
361 DEFINE_INT(type_info_threshold, 25, 363 DEFINE_INT(type_info_threshold, 25,
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 #undef DEFINE_ALIAS_FLOAT 938 #undef DEFINE_ALIAS_FLOAT
937 #undef DEFINE_ALIAS_ARGS 939 #undef DEFINE_ALIAS_ARGS
938 940
939 #undef FLAG_MODE_DECLARE 941 #undef FLAG_MODE_DECLARE
940 #undef FLAG_MODE_DEFINE 942 #undef FLAG_MODE_DEFINE
941 #undef FLAG_MODE_DEFINE_DEFAULTS 943 #undef FLAG_MODE_DEFINE_DEFAULTS
942 #undef FLAG_MODE_META 944 #undef FLAG_MODE_META
943 #undef FLAG_MODE_DEFINE_IMPLICATIONS 945 #undef FLAG_MODE_DEFINE_IMPLICATIONS
944 946
945 #undef COMMA 947 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698