v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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  GarbageCollectionFullMainThreadIncrementalSweep
 
struct  GarbageCollectionBatchedEvents< EventType >
 
struct  GarbageCollectionYoungCycle
 
struct  WasmModuleDecoded
 
struct  WasmModuleCompiled
 
struct  WasmModuleInstantiated
 
struct  WasmModuleTieredUp
 
struct  WasmModulesPerIsolate
 
class  Recorder
 
class  Recorder::ContextId
 
struct  LongTaskStats
 

Namespaces

namespace  v8
 
namespace  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) {}
 

Typedefs

using GarbageCollectionFullMainThreadBatchedIncrementalMark = GarbageCollectionBatchedEvents< GarbageCollectionFullMainThreadIncrementalMark >
 
using GarbageCollectionFullMainThreadBatchedIncrementalSweep = GarbageCollectionBatchedEvents< GarbageCollectionFullMainThreadIncrementalSweep >
 

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

◆ ADD_THREAD_SAFE_EVENT

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

Definition at line 210 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 139 of file v8-metrics.h.

◆ V8_THREAD_SAFE_METRICS_EVENTS

#define V8_THREAD_SAFE_METRICS_EVENTS (   V)    V(WasmModulesPerIsolate)

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