cbase 1.50.0
C/C++ Static Template
Loading...
Searching...
No Matches
MemArena Struct Reference

A virtual memory-backed linear allocator. More...

#include <mem_arena.h>

Public Attributes

u8base
usize pos
usize commit
usize reserve

Detailed Description

A virtual memory-backed linear allocator.

Definition at line 70 of file mem_arena.h.

Member Data Documentation

◆ base

u8* MemArena::base

Pointer to the start of the reserved virtual memory block.

Definition at line 71 of file mem_arena.h.

◆ commit

usize MemArena::commit

The amount of physical RAM currently committed.

Definition at line 73 of file mem_arena.h.

◆ pos

usize MemArena::pos

The current allocation offset in bytes.

Definition at line 72 of file mem_arena.h.

◆ reserve

usize MemArena::reserve

The total reserved size of the virtual memory block.

Definition at line 74 of file mem_arena.h.


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