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

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

Issue 1125683004: Add aggregated memory histograms. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments Created 5 years, 7 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
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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) 641 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
642 DEFINE_BOOL(track_detached_contexts, true, 642 DEFINE_BOOL(track_detached_contexts, true,
643 "track native contexts that are expected to be garbage collected") 643 "track native contexts that are expected to be garbage collected")
644 DEFINE_BOOL(trace_detached_contexts, false, 644 DEFINE_BOOL(trace_detached_contexts, false,
645 "trace native contexts that are expected to be garbage collected") 645 "trace native contexts that are expected to be garbage collected")
646 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 646 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
647 #ifdef VERIFY_HEAP 647 #ifdef VERIFY_HEAP
648 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 648 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
649 #endif 649 #endif
650 650
651 // counters.cc
652 DEFINE_INT(histogram_interval, 600000,
653 "time interval in ms for aggregating memory histograms")
654
651 655
652 // heap-snapshot-generator.cc 656 // heap-snapshot-generator.cc
653 DEFINE_BOOL(heap_profiler_trace_objects, false, 657 DEFINE_BOOL(heap_profiler_trace_objects, false,
654 "Dump heap object allocations/movements/size_updates") 658 "Dump heap object allocations/movements/size_updates")
655 659
656 660
657 // v8.cc 661 // v8.cc
658 DEFINE_BOOL(use_idle_notification, true, 662 DEFINE_BOOL(use_idle_notification, true,
659 "Use idle notification to reduce memory footprint.") 663 "Use idle notification to reduce memory footprint.")
660 // ic.cc 664 // ic.cc
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 #undef DEFINE_ALIAS_FLOAT 1067 #undef DEFINE_ALIAS_FLOAT
1064 #undef DEFINE_ALIAS_ARGS 1068 #undef DEFINE_ALIAS_ARGS
1065 1069
1066 #undef FLAG_MODE_DECLARE 1070 #undef FLAG_MODE_DECLARE
1067 #undef FLAG_MODE_DEFINE 1071 #undef FLAG_MODE_DEFINE
1068 #undef FLAG_MODE_DEFINE_DEFAULTS 1072 #undef FLAG_MODE_DEFINE_DEFAULTS
1069 #undef FLAG_MODE_META 1073 #undef FLAG_MODE_META
1070 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1074 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1071 1075
1072 #undef COMMA 1076 #undef COMMA
OLDNEW
« src/counters.h ('K') | « src/counters.cc ('k') | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698