docs
Loading...
Searching...
No Matches
ULGCInfo

#include <Ultralight/CAPI/CAPI_Renderer.h>

Overview

A snapshot of the JavaScript heap's state.

See also
ulRendererGetGCStatus()

Public Attributes

double pressure
 How much reclaimable memory has built up, from 0 (none) to 1 (a collection is overdue).
double time_since_last_collect_ms
 Milliseconds since the last full collection (0 before the first one).
unsigned long long heap_bytes
 The JavaScript heap's in-use size in bytes (it drops when a collection frees memory).

Member Data Documentation

◆ heap_bytes

unsigned long long heap_bytes

The JavaScript heap's in-use size in bytes (it drops when a collection frees memory).

◆ pressure

double pressure

How much reclaimable memory has built up, from 0 (none) to 1 (a collection is overdue).

◆ time_since_last_collect_ms

double time_since_last_collect_ms

Milliseconds since the last full collection (0 before the first one).


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