|
Ultralight C++ API 2.0.0
|
#include <Ultralight/GCListener.h>
A snapshot of the JavaScript heap's state (see Renderer::gc_status()).
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). | |
| uint64_t | heap_bytes |
| The JavaScript heap's in-use size in bytes (it drops when a collection frees memory). | |
| uint64_t heap_bytes |
The JavaScript heap's in-use size in bytes (it drops when a collection frees memory).
| 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).