v8  9.4.146 (node 16.13.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 8061 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 8072 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 8066 of file v8.h.


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