IndexVirtual Memoryasmjit::JitAllocator::Statistics

asmjit::JitAllocator::Statistics Struct Reference [¶]

Statistics provided by JitAllocator.

Public Members

Member Functions

void JitAllocator::Statistics::reset()noexcept[¶]

Resets the statistics to all zeros.

size_t JitAllocator::Statistics::block_count() constnodiscardnoexcept[¶]

Returns count of blocks managed by JitAllocator at the moment.

size_t JitAllocator::Statistics::allocation_count() constnodiscardnoexcept[¶]

Returns the number of active allocations.

size_t JitAllocator::Statistics::used_size() constnodiscardnoexcept[¶]

Returns how many bytes are currently used.

size_t JitAllocator::Statistics::unused_size() constnodiscardnoexcept[¶]

Returns the number of bytes unused by the allocator at the moment.

size_t JitAllocator::Statistics::reserved_size() constnodiscardnoexcept[¶]

Returns the total number of bytes reserved by the allocator (sum of sizes of all blocks).

size_t JitAllocator::Statistics::overhead_size() constnodiscardnoexcept[¶]

Returns the number of bytes the allocator needs to manage the allocated memory.

size_t JitAllocator::Statistics::_block_count[¶]

Number of blocks JitAllocator maintains.

size_t JitAllocator::Statistics::_allocation_count[¶]

Number of active allocations.

size_t JitAllocator::Statistics::_used_size[¶]

How many bytes are currently used / allocated.

size_t JitAllocator::Statistics::_reserved_size[¶]

How many bytes are currently reserved by the allocator.

size_t JitAllocator::Statistics::_overhead_size[¶]

Allocation overhead (in bytes) required to maintain all blocks.