v8  8.4.371(node14.15.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 7870 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 7881 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 7875 of file v8.h.

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