v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
EmbedderHeapTracer::TraceSummary Struct Reference

#include <v8-embedder-heap.h>

Data Fields

double time = 0.0
 
size_t allocated_size = 0
 

Detailed Description

Summary of a garbage collection cycle. See |TraceEpilogue| on how the summary is reported.

Definition at line 104 of file v8-embedder-heap.h.

Field Documentation

◆ allocated_size

size_t allocated_size = 0

Memory retained by the embedder through the |EmbedderHeapTracer| mechanism in bytes.

Definition at line 115 of file v8-embedder-heap.h.

◆ time

double time = 0.0

Time spent managing the retained memory in milliseconds. This can e.g. include the time tracing through objects in the embedder.

Definition at line 109 of file v8-embedder-heap.h.


The documentation for this struct was generated from the following file: