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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Typedefs | Variables
Ase::FastMemory Namespace Reference

Utilities for allocating cache line aligned memory from huge pages. More...

Classes

struct  Allocator
 
struct  Arena
 Memory area (over-)aligned to cache size and utilizing huge pages. More...
 
struct  ArenaBlock
 
struct  Block
 Reference for an allocated memory block. More...
 
struct  EmptyArena
 
struct  Extent32
 
struct  FastMemoryArena
 
struct  HugePage
 Interface to the OS huge page allocator. More...
 
struct  LinuxHugePage
 
struct  MemoryMetaInfo
 
class  NewDeleteBase
 
struct  SequentialFitAllocator
 

Typedefs

using AllocatorP = std::shared_ptr< Allocator >
 
using HugePageP = HugePage::HugePageP
 

Variables

constexpr size_t cache_line_size
 Minimum alignment >= cache line size, see getconf LEVEL1_DCACHE_LINESIZE.
 

Detailed Description

Utilities for allocating cache line aligned memory from huge pages.


Class Documentation

◆ Ase::FastMemory::MemoryMetaInfo

struct Ase::FastMemory::MemoryMetaInfo

Definition at line 474 of file memory.cc.

Class Members
vector< ArenaBlock > ablocks
mutex mutex

Typedef Documentation

◆ AllocatorP

Definition at line 87 of file memory.hh.

◆ HugePageP

Definition at line 133 of file memory.hh.

Variable Documentation

◆ cache_line_size

constexpr size_t Ase::FastMemory::cache_line_size
constexpr

Minimum alignment >= cache line size, see getconf LEVEL1_DCACHE_LINESIZE.

Definition at line 13 of file memory.hh.