v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
EmbedderHeapTracer::TraceSummary Struct Reference

#include <v8.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 8190 of file v8.h.

Field Documentation

◆ allocated_size

size_t allocated_size = 0

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

Definition at line 8201 of file v8.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 8195 of file v8.h.


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