Index: src/v8-counters.h |
diff --git a/src/v8-counters.h b/src/v8-counters.h |
index 7397c3044c5b983212b37d4c464092e41dcb7104..3d5e84527c38199601dbfdbb92babb34b9480c4b 100644 |
--- a/src/v8-counters.h |
+++ b/src/v8-counters.h |
@@ -100,69 +100,73 @@ namespace internal { |
SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) |
-#define STATS_COUNTER_LIST_2(SC) \ |
- /* Number of code stubs. */ \ |
- SC(code_stubs, V8.CodeStubs) \ |
- /* Amount of stub code. */ \ |
- SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ |
- /* Amount of (JS) compiled code. */ \ |
- SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ |
- SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ |
- SC(gc_compactor_caused_by_promoted_data, \ |
- V8.GCCompactorCausedByPromotedData) \ |
- SC(gc_compactor_caused_by_oldspace_exhaustion, \ |
- V8.GCCompactorCausedByOldspaceExhaustion) \ |
- SC(gc_compactor_caused_by_weak_handles, \ |
- V8.GCCompactorCausedByWeakHandles) \ |
- SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ |
- SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ |
- /* How is the generic keyed-load stub used? */ \ |
- SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ |
- SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ |
- SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ |
- SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ |
- /* Count how much the monomorphic keyed-load stubs are hit. */ \ |
- SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ |
- SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ |
- SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ |
- SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ |
- SC(keyed_load_field, V8.KeyedLoadField) \ |
- SC(keyed_load_callback, V8.KeyedLoadCallback) \ |
- SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ |
- SC(keyed_load_inline, V8.KeyedLoadInline) \ |
- SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ |
- SC(named_load_inline, V8.NamedLoadInline) \ |
- SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ |
- SC(named_load_global_inline, V8.NamedLoadGlobalInline) \ |
- SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \ |
- SC(keyed_store_field, V8.KeyedStoreField) \ |
- SC(keyed_store_inline, V8.KeyedStoreInline) \ |
- SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ |
- SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ |
- SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ |
- SC(call_global_inline, V8.CallGlobalInline) \ |
- SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ |
- SC(constructed_objects, V8.ConstructedObjects) \ |
- SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ |
- SC(constructed_objects_stub, V8.ConstructedObjectsStub) \ |
- SC(array_function_runtime, V8.ArrayFunctionRuntime) \ |
- SC(array_function_native, V8.ArrayFunctionNative) \ |
- SC(for_in, V8.ForIn) \ |
- SC(enum_cache_hits, V8.EnumCacheHits) \ |
- SC(enum_cache_misses, V8.EnumCacheMisses) \ |
- SC(reloc_info_count, V8.RelocInfoCount) \ |
- SC(reloc_info_size, V8.RelocInfoSize) \ |
- SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ |
- SC(compute_entry_frame, V8.ComputeEntryFrame) \ |
- SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ |
- SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ |
- SC(string_add_runtime, V8.StringAddRuntime) \ |
- SC(string_add_native, V8.StringAddNative) \ |
- SC(sub_string_runtime, V8.SubStringRuntime) \ |
- SC(sub_string_native, V8.SubStringNative) \ |
- SC(string_compare_native, V8.StringCompareNative) \ |
- SC(string_compare_runtime, V8.StringCompareRuntime) \ |
- SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ |
+#define STATS_COUNTER_LIST_2(SC) \ |
+ /* Number of code stubs. */ \ |
+ SC(code_stubs, V8.CodeStubs) \ |
+ /* Amount of stub code. */ \ |
+ SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ |
+ /* Amount of (JS) compiled code. */ \ |
+ SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ |
+ SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ |
+ SC(gc_compactor_caused_by_promoted_data, \ |
+ V8.GCCompactorCausedByPromotedData) \ |
+ SC(gc_compactor_caused_by_oldspace_exhaustion, \ |
+ V8.GCCompactorCausedByOldspaceExhaustion) \ |
+ SC(gc_compactor_caused_by_weak_handles, \ |
+ V8.GCCompactorCausedByWeakHandles) \ |
+ SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ |
+ SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ |
+ /* How is the generic keyed-load stub used? */ \ |
+ SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ |
+ SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ |
+ SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ |
+ SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ |
+ /* Count how much the monomorphic keyed-load stubs are hit. */ \ |
+ SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ |
+ SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ |
+ SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ |
+ SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ |
+ SC(keyed_load_field, V8.KeyedLoadField) \ |
+ SC(keyed_load_callback, V8.KeyedLoadCallback) \ |
+ SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ |
+ SC(keyed_load_inline, V8.KeyedLoadInline) \ |
+ SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ |
+ SC(named_load_inline, V8.NamedLoadInline) \ |
+ SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ |
+ SC(named_load_global_inline, V8.NamedLoadGlobalInline) \ |
+ SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \ |
+ SC(keyed_store_field, V8.KeyedStoreField) \ |
+ SC(keyed_store_inline, V8.KeyedStoreInline) \ |
+ SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ |
+ SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ |
+ SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ |
+ SC(call_const, V8.CallConst) \ |
+ SC(call_const_fast_api, V8.CallConstFastApi) \ |
+ SC(call_const_interceptor, V8.CallConstInterceptor) \ |
+ SC(call_const_interceptor_fast_api, V8.CallConstInterceptorFastApi) \ |
+ SC(call_global_inline, V8.CallGlobalInline) \ |
+ SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ |
+ SC(constructed_objects, V8.ConstructedObjects) \ |
+ SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ |
+ SC(constructed_objects_stub, V8.ConstructedObjectsStub) \ |
+ SC(array_function_runtime, V8.ArrayFunctionRuntime) \ |
+ SC(array_function_native, V8.ArrayFunctionNative) \ |
+ SC(for_in, V8.ForIn) \ |
+ SC(enum_cache_hits, V8.EnumCacheHits) \ |
+ SC(enum_cache_misses, V8.EnumCacheMisses) \ |
+ SC(reloc_info_count, V8.RelocInfoCount) \ |
+ SC(reloc_info_size, V8.RelocInfoSize) \ |
+ SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ |
+ SC(compute_entry_frame, V8.ComputeEntryFrame) \ |
+ SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ |
+ SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ |
+ SC(string_add_runtime, V8.StringAddRuntime) \ |
+ SC(string_add_native, V8.StringAddNative) \ |
+ SC(sub_string_runtime, V8.SubStringRuntime) \ |
+ SC(sub_string_native, V8.SubStringNative) \ |
+ SC(string_compare_native, V8.StringCompareNative) \ |
+ SC(string_compare_runtime, V8.StringCompareRuntime) \ |
+ SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ |
SC(regexp_entry_native, V8.RegExpEntryNative) |
// This file contains all the v8 counters that are in use. |