#include <MemoryManager.h>
◆ Allocate()
void * RE::MemoryManager::Allocate |
( |
std::size_t |
a_size, |
|
|
std::int32_t |
a_alignment, |
|
|
bool |
a_alignmentRequired |
|
) |
| |
|
inline |
◆ Deallocate()
void RE::MemoryManager::Deallocate |
( |
void * |
a_mem, |
|
|
bool |
a_alignmentRequired |
|
) |
| |
|
inline |
◆ GetSingleton()
◆ GetThreadScrapHeap()
ScrapHeap * RE::MemoryManager::GetThreadScrapHeap |
( |
| ) |
|
|
inline |
◆ Reallocate()
void * RE::MemoryManager::Reallocate |
( |
void * |
a_oldMem, |
|
|
std::size_t |
a_newSize, |
|
|
std::int32_t |
a_alignment, |
|
|
bool |
a_aligned |
|
) |
| |
|
inline |
◆ RegisterMemoryManager()
void RE::MemoryManager::RegisterMemoryManager |
( |
| ) |
|
|
inline |
◆ alignmentForPools
std::uint32_t RE::MemoryManager::alignmentForPools { 4 } |
◆ allowOtherContextAllocs
bool* RE::MemoryManager::allowOtherContextAllocs { nullptr } |
◆ allowPoolUse
bool RE::MemoryManager::allowPoolUse { true } |
◆ bigAllocHeap
IMemoryHeap* RE::MemoryManager::bigAllocHeap { nullptr } |
◆ compactingStore
◆ defaultHeap
IMemoryHeap* RE::MemoryManager::defaultHeap { nullptr } |
◆ emergencyHeap
IMemoryHeap* RE::MemoryManager::emergencyHeap { nullptr } |
◆ externalHavokAllocator
IMemoryHeap* RE::MemoryManager::externalHavokAllocator { nullptr } |
◆ failedAllocationSize
std::size_t RE::MemoryManager::failedAllocationSize { 0 } |
◆ heaps
◆ heapsByContext
IMemoryHeap* RE::MemoryManager::heapsByContext[127] { nullptr } |
◆ initialized
bool RE::MemoryManager::initialized { false } |
◆ mainThreadMemoryProblemPassSignal
std::uint32_t RE::MemoryManager::mainThreadMemoryProblemPassSignal { 0 } |
◆ mallocBytes
std::uint32_t RE::MemoryManager::mallocBytes { 0 } |
◆ numHeaps
std::uint16_t RE::MemoryManager::numHeaps { 0 } |
◆ numMemoryProblemPassesRun
std::uint32_t RE::MemoryManager::numMemoryProblemPassesRun { 0 } |
◆ numPhysicalHeaps
std::uint16_t RE::MemoryManager::numPhysicalHeaps { 0 } |
◆ physicalHeaps
IMemoryHeap** RE::MemoryManager::physicalHeaps { nullptr } |
◆ smallBlockAllocator
◆ specialHeaps
bool RE::MemoryManager::specialHeaps { false } |
◆ sysAllocBytes
std::uint32_t RE::MemoryManager::sysAllocBytes { 0 } |
◆ threadScrapHeap
◆ timeOfLastMemoryProblemPass
std::size_t RE::MemoryManager::timeOfLastMemoryProblemPass { 0 } |
The documentation for this class was generated from the following file: