![]() |
tinyimg 1.0.0
Lightweight image manipulation library for Cloudflare Workers
|
A snapshot of heap occupancy. More...
#include <memory.h>
Public Attributes | |
| size_t | capacity |
| size_t | used |
| size_t | available |
| size_t | peak |
| uint32_t | blocks |
| uint32_t | free_blocks |
A snapshot of heap occupancy.
Reported by the size and benchmark harnesses; peak is the number the wasm module's memory ceiling has to cover.
| size_t TinyHeapStats::available |
Payload bytes sitting in free blocks.
| uint32_t TinyHeapStats::blocks |
Blocks in the address ordered list, free and live together.
| size_t TinyHeapStats::capacity |
Bytes the heap region spans.
| uint32_t TinyHeapStats::free_blocks |
How many of those blocks are free.
| size_t TinyHeapStats::peak |
Highest used has reached since the heap was installed.
| size_t TinyHeapStats::used |
Payload bytes currently handed out.