Nebula
Loading...
Searching...
No Matches
posixmemoryconfig.h File Reference

Detailed Description

Central config file for memory setup on the Posix platform.

(C) 2008 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file

#include "core/config.h"

Go to the source code of this file.

Namespaces

namespace  Memory
 Allocates memory using the TLSF method (http://www.gii.upv.es/tlsf/files/ecrts04_tlsf.pdf), with extended handling of padding to better suit GPUs.
 

Macros

#define MEMORY_POSIXMEMORYCONFIG_H
 

Enumerations

enum  Memory::HeapType {
  Memory::DefaultHeap = 0 , Memory::ObjectHeap , Memory::ObjectArrayHeap , Memory::ResourceHeap ,
  Memory::ScratchHeap , Memory::StringDataHeap , Memory::StreamDataHeap , Memory::PhysicsHeap ,
  Memory::AppHeap , Memory::NumHeapTypes , Memory::InvalidHeapType , Memory::DefaultHeap = 0 ,
  Memory::ObjectHeap , Memory::ObjectArrayHeap , Memory::ResourceHeap , Memory::ScratchHeap ,
  Memory::StringDataHeap , Memory::StreamDataHeap , Memory::PhysicsHeap , Memory::AppHeap ,
  Memory::NetworkHeap , Memory::ScriptingHeap , Memory::NumHeapTypes , Memory::InvalidHeapType ,
  Memory::DefaultHeap = 0 , Memory::ObjectHeap , Memory::ObjectArrayHeap , Memory::ResourceHeap ,
  Memory::ScratchHeap , Memory::StringDataHeap , Memory::StreamDataHeap , Memory::PhysicsHeap ,
  Memory::AppHeap , Memory::NetworkHeap , Memory::ScriptingHeap , Memory::NumHeapTypes ,
  Memory::InvalidHeapType
}
 Heap types are defined here. More...
 

Functions

void Memory::SetupHeaps ()
 Setup the global heaps.
 
const char * Memory::GetHeapTypeName (HeapType heapType)
 Returns a human readable name for a heap type.
 

Macro Definition Documentation

◆ MEMORY_POSIXMEMORYCONFIG_H

#define MEMORY_POSIXMEMORYCONFIG_H