Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
loomc_workspace_statistics_t Struct Reference

Monotonic allocation statistics for a workspace block pool. More...

#include <workspace.h>

Data Fields

loomc_host_size_t total_block_size
 Total bytes acquired from the host allocator for each fixed-size block.
loomc_host_size_t usable_block_size
 Largest arena allocation served by one fixed-size block without falling back to an oversized host allocation.
uint64_t block_system_allocation_count
 Number of fixed-size blocks acquired from the host allocator.
uint64_t block_system_allocation_bytes
 Total bytes acquired from the host allocator in fixed-size blocks.
uint64_t oversized_allocation_count
 Number of oversized allocations acquired directly from the host allocator.
uint64_t oversized_allocation_bytes
 Total bytes acquired from the host allocator for oversized allocations.

Detailed Description

Monotonic allocation statistics for a workspace block pool.


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