Skip to content

Struct Ase::FastMemory::SequentialFitAllocator

ClassList > Ase > FastMemory > SequentialFitAllocator

Inherited by the following classes: Ase::FastMemory::Allocator

Public Attributes

Type Name
HugePageP blob
std::vector< Extent32 > extents
const uint32 mem_alignment

Public Functions

Type Name
SequentialFitAllocator (HugePageP newblob, uint32 alignment)
bool alloc_ext (Extent32 & ext)
ssize_t best_fit (size_t length) const
char * memory () const
void release_ext (const Extent32 & ext)
size_t size () const
size_t sum () const
~SequentialFitAllocator ()

Public Attributes Documentation

variable blob

HugePageP Ase::FastMemory::SequentialFitAllocator::blob;

variable extents

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

variable mem_alignment

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

Public Functions Documentation

function SequentialFitAllocator

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

function alloc_ext

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

function best_fit

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

function memory

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

function release_ext

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

function size

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

function sum

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

function ~SequentialFitAllocator

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


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/memory.cc