Skip to content

Struct Ase::FastMemory::LinuxHugePage

ClassList > Ase > FastMemory > LinuxHugePage

Inherits the following classes: Ase::FastMemory::HugePage

Public Types

Type Name
typedef void(LinuxHugePage::*)() ReleaseF

Public Types inherited from Ase::FastMemory::HugePage

See Ase::FastMemory::HugePage

Type Name
typedef std::shared_ptr< HugePage > HugePageP

Public Attributes

Type Name
ReleaseF release_ = = nullptr

Public Functions

Type Name
LinuxHugePage (void * m, size_t s, ReleaseF r)
void free_start ()
void munmap_start ()
void unadvise_free_start ()
void unadvise_munmap_start ()
~LinuxHugePage ()

Public Functions inherited from Ase::FastMemory::HugePage

See Ase::FastMemory::HugePage

Type Name
size_t alignment () const
Alignment of the memory area.
char * mem () const
Allocated memroy area.
size_t size () const
Size in bytes of the memroy area.

Public Static Functions inherited from Ase::FastMemory::HugePage

See Ase::FastMemory::HugePage

Type Name
HugePageP allocate (size_t minimum_alignment, size_t bytelength)
Try to allocate a HugePage __>= bytelength withminimum_alignment , usual sizes are 2MB.

Protected Attributes inherited from Ase::FastMemory::HugePage

See Ase::FastMemory::HugePage

Type Name
const size_t size_
void *const start_

Protected Functions inherited from Ase::FastMemory::HugePage

See Ase::FastMemory::HugePage

Type Name
HugePage (void * m, size_t s)
virtual ~HugePage ()

Public Types Documentation

typedef ReleaseF

using Ase::FastMemory::LinuxHugePage::ReleaseF =  void (LinuxHugePage::*) ();

Public Attributes Documentation

variable release_

ReleaseF Ase::FastMemory::LinuxHugePage::release_;

Public Functions Documentation

function LinuxHugePage

inline Ase::FastMemory::LinuxHugePage::LinuxHugePage (
    void * m,
    size_t s,
    ReleaseF r
) 

function free_start

inline void Ase::FastMemory::LinuxHugePage::free_start () 

function munmap_start

inline void Ase::FastMemory::LinuxHugePage::munmap_start () 

function unadvise_free_start

inline void Ase::FastMemory::LinuxHugePage::unadvise_free_start () 

function unadvise_munmap_start

inline void Ase::FastMemory::LinuxHugePage::unadvise_munmap_start () 

function ~LinuxHugePage

inline Ase::FastMemory::LinuxHugePage::~LinuxHugePage () 


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