|
cbase 1.50.0
C/C++ Static Template
|
A virtual memory-backed linear allocator. More...
#include <mem_arena.h>
Public Attributes | |
| u8 * | base |
| usize | pos |
| usize | commit |
| usize | reserve |
A virtual memory-backed linear allocator.
Definition at line 70 of file mem_arena.h.
| u8* MemArena::base |
Pointer to the start of the reserved virtual memory block.
Definition at line 71 of file mem_arena.h.
| usize MemArena::commit |
The amount of physical RAM currently committed.
Definition at line 73 of file mem_arena.h.
| usize MemArena::pos |
The current allocation offset in bytes.
Definition at line 72 of file mem_arena.h.
| usize MemArena::reserve |
The total reserved size of the virtual memory block.
Definition at line 74 of file mem_arena.h.