v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
v8-metrics.h File Reference
#include "v8.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  GarbageCollectionFullMainThreadIncrementalSweep
 
struct  GarbageCollectionYoungCycle
 
struct  WasmModuleDecoded
 
struct  WasmModuleCompiled
 
struct  WasmModuleInstantiated
 
struct  WasmModuleTieredUp
 
struct  WasmModulesPerIsolate
 
class  Recorder
 
class  Recorder::ContextId
 

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 167 of file v8-metrics.h.

◆ ADD_THREAD_SAFE_EVENT

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

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

◆ V8_MAIN_THREAD_METRICS_EVENTS

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

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

◆ V8_THREAD_SAFE_METRICS_EVENTS

#define V8_THREAD_SAFE_METRICS_EVENTS (   V)    V(WasmModulesPerIsolate)

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

V
#define V(Name)