Module allocators

Source
Expand description

Provides concrete memory allocator implementations for the engine.

This module is part of the [D]ata layer and contains allocators that can be registered as the global memory handler for the application.

A primary use case is to provide an allocator that updates the global memory tracking counters defined in khora_core::memory, enabling the SAA’s memory monitoring capabilities.

Structs§

SaaTrackingAllocator
A wrapper around a GlobalAlloc implementation (like std::alloc::System) that intercepts allocation calls to update the global memory counters defined in khora_core::memory.