Nebula
Loading...
Searching...
No Matches
arenaallocator.h File Reference
#include "core/config.h"
#include "math/scalar.h"
#include "util/array.h"

Go to the source code of this file.

Classes

class  Memory::ArenaAllocator< ChunkSize >
 Allocates memory in chunks. More...
 

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 SMALL_CHUNK   0x100
 
#define MEDIUM_CHUNK   0x1000
 
#define BIG_CHUNK   0x10000
 

Macro Definition Documentation

◆ BIG_CHUNK

#define BIG_CHUNK   0x10000

◆ MEDIUM_CHUNK

#define MEDIUM_CHUNK   0x1000

◆ SMALL_CHUNK

#define SMALL_CHUNK   0x100