Memory subsystem features for win32.
- Copyright
- (C) 2008 Radon Labs GmbH (C) 2013-2020 Individual contributors, see AUTHORS file
|
void * | Memory::Alloc (HeapType heapType, size_t size, size_t alignment) |
| Allocate a block of memory from one of the global heaps.
|
|
void * | Memory::Realloc (HeapType heapType, void *ptr, size_t size) |
| Re-Allocate a block of memory from one of the global heaps.
|
|
void | Memory::Free (HeapType heapType, void *ptr) |
| Free a block of memory.
|
|
__forceinline void * | Memory::AllocVirtual (size_t size) |
| allocate a range of virtual memory space
|
|
__forceinline void | Memory::CommitVirtual (void *ptr, size_t size) |
| commit virtual memory
|
|
__forceinline void | Memory::DecommitVirtual (void *ptr, size_t size) |
| decommit virtual memory
|
|
__forceinline void | Memory::FreeVirtual (void *ptr, size_t size) |
| free virtual memory
|
|
char * | Memory::DuplicateCString (const char *from) |
| Duplicate a 0-terminated string, this method should no longer be used!
|
|
bool | Memory::IsOverlapping (const unsigned char *srcPtr, size_t srcSize, const unsigned char *dstPtr, size_t dstSize) |
| Test if 2 areas of memory areas are overlapping.
|
|
TotalMemoryStatus | Memory::GetTotalMemoryStatus () |
| Get the system's total memory status.
|
|
void | Memory::DumpTotalMemoryStatus () |
| Dump detail memory status information.
|
|