Lines Matching refs:V8
1 // Copyright 2012 the V8 project authors. All rights reserved.
8 #include "include/v8.h"
22 namespace v8 {
490 V8_NOINLINE void Dump(v8::tracing::TracedValue* value);
513 v8::tracing::TracingCategoryObserver::ENABLED_BY_SAMPLING) {
861 V8_NOINLINE void Dump(v8::tracing::TracedValue* value);
892 HR(detached_context_age_in_gc, V8.DetachedContextAgeInGC, 0, 20, 21) \
893 HR(gc_idle_time_allotted_in_ms, V8.GCIdleTimeAllottedInMS, 0, 10000, 101) \
894 HR(gc_idle_time_limit_overshot, V8.GCIdleTimeLimit.Overshot, 0, 10000, 101) \
895 HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \
897 HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) \
898 HR(errors_thrown_per_context, V8.ErrorsThrownPerContext, 0, 200, 20) \
899 HR(debug_feature_usage, V8.DebugFeatureUsage, 1, 7, 7) \
900 HR(incremental_marking_reason, V8.GCIncrementalMarkingReason, 0, 21, 22) \
901 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \
902 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \
904 HR(wasm_functions_per_module, V8.WasmFunctionsPerModule, 1, 10000, 51)
908 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \
909 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \
910 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \
912 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \
913 HT(gc_context, V8.GCContext, 10000, \
915 HT(gc_idle_notification, V8.GCIdleNotification, 10000, MILLISECOND) \
916 HT(gc_incremental_marking, V8.GCIncrementalMarking, 10000, MILLISECOND) \
917 HT(gc_incremental_marking_start, V8.GCIncrementalMarkingStart, 10000, \
919 HT(gc_incremental_marking_finalize, V8.GCIncrementalMarkingFinalize, 10000, \
921 HT(gc_low_memory_notification, V8.GCLowMemoryNotification, 10000, \
924 HT(compile, V8.CompileMicroSeconds, 1000000, MICROSECOND) \
925 HT(compile_eval, V8.CompileEvalMicroSeconds, 1000000, MICROSECOND) \
927 HT(compile_serialize, V8.CompileSerializeMicroSeconds, 100000, MICROSECOND) \
928 HT(compile_deserialize, V8.CompileDeserializeMicroSeconds, 1000000, \
931 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND) \
933 HT(execute, V8.Execute, 1000000, MICROSECOND) \
935 HT(wasm_instantiate_module_time, V8.WasmInstantiateModuleMicroSeconds, \
937 HT(wasm_decode_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \
939 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \
941 HT(wasm_compile_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \
943 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \
947 AHT(compile_lazy, V8.CompileLazyMicroSeconds)
951 HP(external_fragmentation_total, V8.MemoryExternalFragmentationTotal) \
952 HP(external_fragmentation_old_space, V8.MemoryExternalFragmentationOldSpace) \
954 V8.MemoryExternalFragmentationCodeSpace) \
955 HP(external_fragmentation_map_space, V8.MemoryExternalFragmentationMapSpace) \
956 HP(external_fragmentation_lo_space, V8.MemoryExternalFragmentationLoSpace) \
958 HP(heap_fraction_new_space, V8.MemoryHeapFractionNewSpace) \
959 HP(heap_fraction_old_space, V8.MemoryHeapFractionOldSpace) \
960 HP(heap_fraction_code_space, V8.MemoryHeapFractionCodeSpace) \
961 HP(heap_fraction_map_space, V8.MemoryHeapFractionMapSpace) \
962 HP(heap_fraction_lo_space, V8.MemoryHeapFractionLoSpace)
965 HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \
966 HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \
967 HM(heap_sample_map_space_committed, V8.MemoryHeapSampleMapSpaceCommitted) \
968 HM(heap_sample_code_space_committed, V8.MemoryHeapSampleCodeSpaceCommitted) \
969 HM(heap_sample_maximum_committed, V8.MemoryHeapSampleMaximumCommitted)
972 HM(memory_heap_committed, V8.MemoryHeapCommitted) \
973 HM(memory_heap_used, V8.MemoryHeapUsed) \
975 HM(wasm_decode_module_peak_memory_bytes, V8.WasmDecodeModulePeakMemoryBytes) \
977 V8.WasmCompileFunctionPeakMemoryBytes) \
978 HM(wasm_min_mem_pages_count, V8.WasmMinMemPagesCount) \
979 HM(wasm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \
980 HM(wasm_function_size_bytes, V8.WasmFunctionSizeBytes) \
981 HM(wasm_module_size_bytes, V8.WasmModuleSizeBytes)
990 SC(global_handles, V8.GlobalHandles) \
992 SC(memory_allocated, V8.OsMemoryAllocated) \
993 SC(maps_normalized, V8.MapsNormalized) \
994 SC(maps_created, V8.MapsCreated) \
995 SC(elements_transitions, V8.ObjectElementsTransitions) \
996 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \
997 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \
998 SC(alive_after_last_gc, V8.AliveAfterLastGC) \
999 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \
1000 SC(objs_since_last_full, V8.ObjsSinceLastFull) \
1001 SC(string_table_capacity, V8.StringTableCapacity) \
1002 SC(number_of_symbols, V8.NumberOfSymbols) \
1003 SC(script_wrappers, V8.ScriptWrappers) \
1004 SC(inlined_copied_elements, V8.InlinedCopiedElements) \
1005 SC(arguments_adaptors, V8.ArgumentsAdaptors) \
1006 SC(compilation_cache_hits, V8.CompilationCacheHits) \
1007 SC(compilation_cache_misses, V8.CompilationCacheMisses) \
1009 SC(total_eval_size, V8.TotalEvalSize) \
1011 SC(total_load_size, V8.TotalLoadSize) \
1013 SC(total_parse_size, V8.TotalParseSize) \
1015 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \
1017 SC(total_compile_size, V8.TotalCompileSize) \
1019 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \
1021 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \
1023 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \
1025 SC(pc_to_code, V8.PcToCode) \
1026 SC(pc_to_code_cached, V8.PcToCodeCached) \
1028 SC(store_buffer_overflows, V8.StoreBufferOverflows)
1032 SC(code_stubs, V8.CodeStubs) \
1034 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \
1036 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \
1037 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \
1038 SC(gc_compactor_caused_by_promoted_data, V8.GCCompactorCausedByPromotedData) \
1040 V8.GCCompactorCausedByOldspaceExhaustion) \
1041 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \
1042 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \
1043 SC(ic_keyed_load_generic_smi, V8.ICKeyedLoadGenericSmi) \
1044 SC(ic_keyed_load_generic_symbol, V8.ICKeyedLoadGenericSymbol) \
1045 SC(ic_keyed_load_generic_slow, V8.ICKeyedLoadGenericSlow) \
1046 SC(ic_named_load_global_stub, V8.ICNamedLoadGlobalStub) \
1047 SC(ic_store_normal_miss, V8.ICStoreNormalMiss) \
1048 SC(ic_store_normal_hit, V8.ICStoreNormalHit) \
1049 SC(ic_binary_op_miss, V8.ICBinaryOpMiss) \
1050 SC(ic_compare_miss, V8.ICCompareMiss) \
1051 SC(ic_call_miss, V8.ICCallMiss) \
1052 SC(ic_keyed_call_miss, V8.ICKeyedCallMiss) \
1053 SC(ic_load_miss, V8.ICLoadMiss) \
1054 SC(ic_keyed_load_miss, V8.ICKeyedLoadMiss) \
1055 SC(ic_store_miss, V8.ICStoreMiss) \
1056 SC(ic_keyed_store_miss, V8.ICKeyedStoreMiss) \
1057 SC(cow_arrays_created_runtime, V8.COWArraysCreatedRuntime) \
1058 SC(cow_arrays_converted, V8.COWArraysConverted) \
1059 SC(constructed_objects, V8.ConstructedObjects) \
1060 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \
1061 SC(negative_lookups, V8.NegativeLookups) \
1062 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \
1063 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \
1064 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \
1065 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \
1066 SC(enum_cache_hits, V8.EnumCacheHits) \
1067 SC(enum_cache_misses, V8.EnumCacheMisses) \
1068 SC(fast_new_closure_total, V8.FastNewClosureTotal) \
1069 SC(string_add_runtime, V8.StringAddRuntime) \
1070 SC(string_add_native, V8.StringAddNative) \
1071 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \
1072 SC(sub_string_runtime, V8.SubStringRuntime) \
1073 SC(sub_string_native, V8.SubStringNative) \
1074 SC(string_compare_native, V8.StringCompareNative) \
1075 SC(string_compare_runtime, V8.StringCompareRuntime) \
1076 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \
1077 SC(regexp_entry_native, V8.RegExpEntryNative) \
1078 SC(number_to_string_native, V8.NumberToStringNative) \
1079 SC(number_to_string_runtime, V8.NumberToStringRuntime) \
1080 SC(math_exp_runtime, V8.MathExpRuntime) \
1081 SC(math_log_runtime, V8.MathLogRuntime) \
1082 SC(math_pow_runtime, V8.MathPowRuntime) \
1083 SC(stack_interrupts, V8.StackInterrupts) \
1084 SC(runtime_profiler_ticks, V8
1085 SC(runtime_calls, V8.RuntimeCalls) \
1086 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \
1087 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \
1088 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \
1089 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \
1090 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \
1092 SC(write_barriers_dynamic, V8.WriteBarriersDynamic) \
1093 SC(write_barriers_static, V8.WriteBarriersStatic) \
1094 SC(new_space_bytes_available, V8.MemoryNewSpaceBytesAvailable) \
1095 SC(new_space_bytes_committed, V8.MemoryNewSpaceBytesCommitted) \
1096 SC(new_space_bytes_used, V8.MemoryNewSpaceBytesUsed) \
1097 SC(old_space_bytes_available, V8.MemoryOldSpaceBytesAvailable) \
1098 SC(old_space_bytes_committed, V8.MemoryOldSpaceBytesCommitted) \
1099 SC(old_space_bytes_used, V8.MemoryOldSpaceBytesUsed) \
1100 SC(code_space_bytes_available, V8.MemoryCodeSpaceBytesAvailable) \
1101 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \
1102 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \
1103 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \
1104 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \
1105 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \
1106 SC(lo_space_bytes_available, V8.MemoryLoSpaceBytesAvailable) \
1107 SC(lo_space_bytes_committed, V8.MemoryLoSpaceBytesCommitted) \
1108 SC(lo_space_bytes_used, V8.MemoryLoSpaceBytesUsed) \
1109 SC(turbo_escape_allocs_replaced, V8.TurboEscapeAllocsReplaced) \
1110 SC(crankshaft_escape_allocs_replaced, V8.CrankshaftEscapeAllocsReplaced) \
1111 SC(turbo_escape_loads_replaced, V8.TurboEscapeLoadsReplaced) \
1112 SC(crankshaft_escape_loads_replaced, V8.CrankshaftEscapeLoadsReplaced) \
1114 SC(total_baseline_code_size, V8.TotalBaselineCodeSize) \
1116 SC(total_baseline_compile_count, V8.TotalBaselineCompileCount) \
1117 SC(wasm_generated_code_size, V8.WasmGeneratedCodeBytes) \
1118 SC(wasm_reloc_size, V8.WasmRelocBytes)
1120 // This file contains all the v8 counters that are in use.
1332 } // namespace v8