v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
counters-definitions.h File Reference
Include dependency graph for counters-definitions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define HISTOGRAM_RANGE_LIST(HR)
 
#define NESTED_TIMED_HISTOGRAM_LIST(HT)
 
#define NESTED_TIMED_HISTOGRAM_LIST_SLOW(HT)
 
#define TIMED_HISTOGRAM_LIST(HT)
 
#define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT)
 
#define HISTOGRAM_PERCENTAGE_LIST(HP)
 
#define HISTOGRAM_LEGACY_MEMORY_LIST(HM)
 
#define STATS_COUNTER_LIST(SC)
 
#define STATS_COUNTER_NATIVE_CODE_LIST(SC)
 

Macro Definition Documentation

◆ AGGREGATABLE_HISTOGRAM_TIMER_LIST

#define AGGREGATABLE_HISTOGRAM_TIMER_LIST ( AHT)
Value:
AHT(compile_lazy, V8.CompileLazyMicroSeconds)
#define AHT(name, caption)

Definition at line 328 of file counters-definitions.h.

◆ HISTOGRAM_LEGACY_MEMORY_LIST

#define HISTOGRAM_LEGACY_MEMORY_LIST ( HM)
Value:
HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \
HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \
HM(heap_sample_map_space_committed, V8.MemoryHeapSampleMapSpaceCommitted) \
HM(heap_sample_code_space_committed, V8.MemoryHeapSampleCodeSpaceCommitted) \
HM(heap_sample_maximum_committed, V8.MemoryHeapSampleMaximumCommitted)
#define HM(name, caption)
Definition counters.h:581

Definition at line 341 of file counters-definitions.h.

◆ HISTOGRAM_PERCENTAGE_LIST

#define HISTOGRAM_PERCENTAGE_LIST ( HP)
Value:
/* Heap fragmentation. */ \
HP(external_fragmentation_total, V8.MemoryExternalFragmentationTotal) \
HP(external_fragmentation_old_space, V8.MemoryExternalFragmentationOldSpace) \
HP(external_fragmentation_code_space, \
V8.MemoryExternalFragmentationCodeSpace) \
HP(external_fragmentation_map_space, V8.MemoryExternalFragmentationMapSpace) \
HP(external_fragmentation_lo_space, V8.MemoryExternalFragmentationLoSpace)

Definition at line 331 of file counters-definitions.h.

◆ HISTOGRAM_RANGE_LIST

#define HISTOGRAM_RANGE_LIST ( HR)

Definition at line 15 of file counters-definitions.h.

◆ NESTED_TIMED_HISTOGRAM_LIST

#define NESTED_TIMED_HISTOGRAM_LIST ( HT)
Value:
/* Garbage collection timers. */ \
HT(gc_incremental_marking, V8.GCIncrementalMarking, 10000, MILLISECOND) \
HT(gc_incremental_marking_start, V8.GCIncrementalMarkingStart, 10000, \
MILLISECOND) \
HT(gc_minor_incremental_marking_start, V8.GCMinorIncrementalMarkingStart, \
10000, MILLISECOND) \
HT(gc_low_memory_notification, V8.GCLowMemoryNotification, 10000, \
MILLISECOND) \
/* Compilation times. */ \
HT(collect_source_positions, V8.CollectSourcePositions, 1000000, \
MICROSECOND) \
HT(compile, V8.CompileMicroSeconds, 1000000, MICROSECOND) \
HT(compile_eval, V8.CompileEvalMicroSeconds, 1000000, MICROSECOND) \
/* Serialization as part of compilation (code caching). */ \
HT(compile_serialize, V8.CompileSerializeMicroSeconds, 100000, MICROSECOND) \
HT(compile_deserialize, V8.CompileDeserializeMicroSeconds, 1000000, \
MICROSECOND) \
/* Snapshot. */ \
HT(snapshot_decompress, V8.SnapshotDecompressMicroSeconds, 1000000, \
MICROSECOND) \
HT(snapshot_deserialize_rospace, V8.SnapshotDeserializeRoSpaceMicroSeconds, \
1000000, MICROSECOND) \
HT(snapshot_deserialize_isolate, V8.SnapshotDeserializeIsolateMicroSeconds, \
1000000, MICROSECOND) \
HT(snapshot_deserialize_context, V8.SnapshotDeserializeContextMicroSeconds, \
1000000, MICROSECOND) \
/* ... and also see compile_deserialize above. */ \
/* Total compilation time incl. caching/parsing. */ \
HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND)

Definition at line 134 of file counters-definitions.h.

◆ NESTED_TIMED_HISTOGRAM_LIST_SLOW

#define NESTED_TIMED_HISTOGRAM_LIST_SLOW ( HT)
Value:
/* Total V8 time (including JS and runtime calls, exluding callbacks). */ \
HT(execute, V8.ExecuteMicroSeconds, 1000000, MICROSECOND)

Definition at line 165 of file counters-definitions.h.

◆ STATS_COUNTER_LIST

#define STATS_COUNTER_LIST ( SC)

Definition at line 348 of file counters-definitions.h.

◆ STATS_COUNTER_NATIVE_CODE_LIST

#define STATS_COUNTER_NATIVE_CODE_LIST ( SC)
Value:
/* Number of write barriers executed at runtime. */ \
SC(write_barriers, V8.WriteBarriers) \
SC(regexp_entry_native, V8.RegExpEntryNative) \
SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \
SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses)

Definition at line 392 of file counters-definitions.h.

◆ TIMED_HISTOGRAM_LIST

#define TIMED_HISTOGRAM_LIST ( HT)

Definition at line 170 of file counters-definitions.h.