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

Side by Side Diff: src/counters.h

Issue 2777073003: Split counters for functions per module for asm and wasm. (Closed)
Patch Set: Created 3 years, 8 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/wasm/wasm-module.cc » ('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 #ifndef V8_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/atomic-utils.h" 10 #include "src/base/atomic-utils.h"
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \ 919 HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \
920 101) \ 920 101) \
921 HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) \ 921 HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) \
922 HR(errors_thrown_per_context, V8.ErrorsThrownPerContext, 0, 200, 20) \ 922 HR(errors_thrown_per_context, V8.ErrorsThrownPerContext, 0, 200, 20) \
923 HR(debug_feature_usage, V8.DebugFeatureUsage, 1, 7, 7) \ 923 HR(debug_feature_usage, V8.DebugFeatureUsage, 1, 7, 7) \
924 HR(incremental_marking_reason, V8.GCIncrementalMarkingReason, 0, 21, 22) \ 924 HR(incremental_marking_reason, V8.GCIncrementalMarkingReason, 0, 21, 22) \
925 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \ 925 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \
926 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \ 926 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \
927 HR(young_generation_handling, V8.GCYoungGenerationHandling, 0, 2, 3) \ 927 HR(young_generation_handling, V8.GCYoungGenerationHandling, 0, 2, 3) \
928 /* Asm/Wasm. */ \ 928 /* Asm/Wasm. */ \
929 HR(wasm_functions_per_module, V8.WasmFunctionsPerModule, 1, 10000, 51) 929 HR(wasm_functions_per_asm_module, V8.WasmFunctionsPerModule, 1, 10000, 51) \
930 HR(wasm_functions_per_wasm_module, V8.WasmFunctionsPerModule, 1, 10000, 51)
930 931
931 #define HISTOGRAM_TIMER_LIST(HT) \ 932 #define HISTOGRAM_TIMER_LIST(HT) \
932 /* Garbage collection timers. */ \ 933 /* Garbage collection timers. */ \
933 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \ 934 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \
934 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \ 935 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \
935 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \ 936 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \
936 MILLISECOND) \ 937 MILLISECOND) \
937 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ 938 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \
938 HT(gc_context, V8.GCContext, 10000, \ 939 HT(gc_context, V8.GCContext, 10000, \
939 MILLISECOND) /* GC context cleanup time */ \ 940 MILLISECOND) /* GC context cleanup time */ \
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 1326
1326 explicit Counters(Isolate* isolate); 1327 explicit Counters(Isolate* isolate);
1327 1328
1328 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 1329 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
1329 }; 1330 };
1330 1331
1331 } // namespace internal 1332 } // namespace internal
1332 } // namespace v8 1333 } // namespace v8
1333 1334
1334 #endif // V8_COUNTERS_H_ 1335 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « no previous file | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698