v8  8.6.395 (node 15.0.1)
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  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 111 of file v8-metrics.h.

◆ ADD_THREAD_SAFE_EVENT

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

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

◆ V8_MAIN_THREAD_METRICS_EVENTS

#define V8_MAIN_THREAD_METRICS_EVENTS (   V)
Value:
V(WasmModuleDecoded) \
V(WasmModuleCompiled) \
V(WasmModuleInstantiated) \
V(WasmModuleTieredUp)
#define V(Name)

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

◆ V8_THREAD_SAFE_METRICS_EVENTS

#define V8_THREAD_SAFE_METRICS_EVENTS (   V)    V(WasmModulesPerIsolate)

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