Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Ase::FastMemory::SequentialFitAllocator Struct Reference
Inheritance diagram for Ase::FastMemory::SequentialFitAllocator:
[legend]

Public Member Functions

 SequentialFitAllocator (HugePageP newblob, uint32 alignment)
 
charmemory () const
 
size_t size () const
 
size_t sum () const
 
void release_ext (const Extent32 &ext)
 
ssize_t best_fit (size_t length) const
 
bool alloc_ext (Extent32 &ext)
 

Public Attributes

HugePageP blob
 
std::vector< Extent32extents
 
const uint32 mem_alignment
 

Detailed Description

Definition at line 142 of file memory.cc.

Constructor & Destructor Documentation

◆ SequentialFitAllocator()

Ase::FastMemory::SequentialFitAllocator::SequentialFitAllocator ( HugePageP  newblob,
uint32  alignment 
)

Definition at line 146 of file memory.cc.

◆ ~SequentialFitAllocator()

Ase::FastMemory::SequentialFitAllocator::~SequentialFitAllocator ( )

Definition at line 160 of file memory.cc.

Member Function Documentation

◆ alloc_ext()

bool Ase::FastMemory::SequentialFitAllocator::alloc_ext ( Extent32 ext)

Definition at line 251 of file memory.cc.

◆ best_fit()

ssize_t Ase::FastMemory::SequentialFitAllocator::best_fit ( size_t  length) const

Definition at line 231 of file memory.cc.

◆ memory()

char * Ase::FastMemory::SequentialFitAllocator::memory ( ) const

Definition at line 168 of file memory.cc.

◆ release_ext()

void Ase::FastMemory::SequentialFitAllocator::release_ext ( const Extent32 ext)

Definition at line 186 of file memory.cc.

◆ size()

size_t Ase::FastMemory::SequentialFitAllocator::size ( ) const

Definition at line 173 of file memory.cc.

◆ sum()

size_t Ase::FastMemory::SequentialFitAllocator::sum ( ) const

Definition at line 178 of file memory.cc.

Member Data Documentation

◆ blob

HugePageP Ase::FastMemory::SequentialFitAllocator::blob

Definition at line 143 of file memory.cc.

◆ extents

std::vector<Extent32> Ase::FastMemory::SequentialFitAllocator::extents

Definition at line 144 of file memory.cc.

◆ mem_alignment

const uint32 Ase::FastMemory::SequentialFitAllocator::mem_alignment

Definition at line 145 of file memory.cc.


The documentation for this struct was generated from the following file: