memory
|
Virtual memory api and (low-level) allocator classes.
Classes | |
class | virtual_memory_allocator |
A stateless RawAllocator that allocates memory using the virtual memory allocation functions. More... | |
class | virtual_block_allocator |
A BlockAllocator that reserves virtual memory and commits it part by part. More... | |
Variables | |
const std::size_t | virtual_memory_page_size |
The page size of the virtual memory. | |
Functions | |
std::size_t | get_virtual_memory_page_size () noexcept |
void * | virtual_memory_reserve (std::size_t no_pages) noexcept |
Reserves virtual memory. | |
void | virtual_memory_release (void *pages, std::size_t no_pages) noexcept |
Releases reserved virtual memory. | |
void * | virtual_memory_commit (void *memory, std::size_t no_pages) noexcept |
Commits reserved virtual memory. | |
void | virtual_memory_decommit (void *memory, std::size_t no_pages) noexcept |
Decommits commited virtual memory. | |