v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
v8-metrics.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <vector>
#include "v8-internal.h"
#include "v8-local-handle.h"
Include dependency graph for v8-metrics.h:

Go to the source code of this file.

Data Structures

struct  GarbageCollectionPhases
 
struct  GarbageCollectionSizes
 
struct  GarbageCollectionFullCycle
 
struct  GarbageCollectionFullMainThreadIncrementalMark
 
struct  GarbageCollectionFullMainThreadBatchedIncrementalMark
 
struct  GarbageCollectionFullMainThreadIncrementalSweep
 
struct  GarbageCollectionFullMainThreadBatchedIncrementalSweep
 
struct  GarbageCollectionYoungCycle
 
struct  WasmModuleDecoded
 
struct  WasmModuleCompiled
 
struct  WasmModuleInstantiated
 
struct  WasmModuleTieredUp
 
struct  WasmModulesPerIsolate
 
class  Recorder
 
class  Recorder::ContextId
 
struct  LongTaskStats
 

Namespaces

 v8
 
 v8::metrics
 

Macros

#define V8_MAIN_THREAD_METRICS_EVENTS(V)
 
#define V8_THREAD_SAFE_METRICS_EVENTS(V)   V(WasmModulesPerIsolate)
 
#define ADD_MAIN_THREAD_EVENT(E)    virtual void AddMainThreadEvent(const E& event, ContextId context_id) {}
 
#define ADD_THREAD_SAFE_EVENT(E)    virtual void AddThreadSafeEvent(const E& event) {}
 

Macro Definition Documentation

◆ ADD_MAIN_THREAD_EVENT

#define ADD_MAIN_THREAD_EVENT (   E)     virtual void AddMainThreadEvent(const E& event, ContextId context_id) {}

Definition at line 193 of file v8-metrics.h.

◆ ADD_THREAD_SAFE_EVENT

#define ADD_THREAD_SAFE_EVENT (   E)     virtual void AddThreadSafeEvent(const E& event) {}

Definition at line 198 of file v8-metrics.h.

◆ V8_MAIN_THREAD_METRICS_EVENTS

#define V8_MAIN_THREAD_METRICS_EVENTS (   V)
Value:
V(GarbageCollectionFullCycle) \
V(GarbageCollectionFullMainThreadIncrementalMark) \
V(GarbageCollectionFullMainThreadBatchedIncrementalMark) \
V(GarbageCollectionFullMainThreadIncrementalSweep) \
V(GarbageCollectionFullMainThreadBatchedIncrementalSweep) \
V(GarbageCollectionYoungCycle) \
V(WasmModuleDecoded) \
V(WasmModuleCompiled) \
V(WasmModuleInstantiated) \
V(WasmModuleTieredUp)
#define V(Name)

Definition at line 127 of file v8-metrics.h.

◆ V8_THREAD_SAFE_METRICS_EVENTS

#define V8_THREAD_SAFE_METRICS_EVENTS (   V)    V(WasmModulesPerIsolate)

Definition at line 139 of file v8-metrics.h.