v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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 95 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 106 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 100 of file v8-embedder-heap.h.


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