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

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

Issue 1254603002: Extract function to compute mutator utilization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: return min mutator utilization instead of max when there is no data. Created 5 years, 5 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
« no previous file with comments | « no previous file | src/heap/heap.h » ('j') | no next file with comments »
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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 DEFINE_BOOL(print_max_heap_committed, false, 608 DEFINE_BOOL(print_max_heap_committed, false,
609 "print statistics of the maximum memory committed for the heap " 609 "print statistics of the maximum memory committed for the heap "
610 "in name=value format on exit") 610 "in name=value format on exit")
611 DEFINE_BOOL(trace_gc_verbose, false, 611 DEFINE_BOOL(trace_gc_verbose, false,
612 "print more details following each garbage collection") 612 "print more details following each garbage collection")
613 DEFINE_INT(trace_allocation_stack_interval, -1, 613 DEFINE_INT(trace_allocation_stack_interval, -1,
614 "print stack trace after <n> free-list allocations") 614 "print stack trace after <n> free-list allocations")
615 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") 615 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space")
616 DEFINE_BOOL(trace_fragmentation_verbose, false, 616 DEFINE_BOOL(trace_fragmentation_verbose, false,
617 "report fragmentation for old space (detailed)") 617 "report fragmentation for old space (detailed)")
618 DEFINE_BOOL(trace_mutator_utilization, false,
619 "print mutator utilization, allocation speed, gc speed")
618 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, 620 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true,
619 "make maps embedded in optimized code weak") 621 "make maps embedded in optimized code weak")
620 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, 622 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true,
621 "make objects embedded in optimized code weak") 623 "make objects embedded in optimized code weak")
622 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") 624 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again")
623 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") 625 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress")
624 DEFINE_BOOL(age_code, true, 626 DEFINE_BOOL(age_code, true,
625 "track un-executed functions to age code and flush only " 627 "track un-executed functions to age code and flush only "
626 "old code (required for code flushing)") 628 "old code (required for code flushing)")
627 DEFINE_BOOL(incremental_marking, true, "use incremental marking") 629 DEFINE_BOOL(incremental_marking, true, "use incremental marking")
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 #undef DEFINE_ALIAS_FLOAT 1065 #undef DEFINE_ALIAS_FLOAT
1064 #undef DEFINE_ALIAS_ARGS 1066 #undef DEFINE_ALIAS_ARGS
1065 1067
1066 #undef FLAG_MODE_DECLARE 1068 #undef FLAG_MODE_DECLARE
1067 #undef FLAG_MODE_DEFINE 1069 #undef FLAG_MODE_DEFINE
1068 #undef FLAG_MODE_DEFINE_DEFAULTS 1070 #undef FLAG_MODE_DEFINE_DEFAULTS
1069 #undef FLAG_MODE_META 1071 #undef FLAG_MODE_META
1070 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1072 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1071 1073
1072 #undef COMMA 1074 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698