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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
memory.hh File Reference
#include <ase/utils.hh>

Go to the source code of this file.

Classes

class  Ase::FastMemArray< T, ALIGNMENT >
 Array with cache-line-alignment containing a fixed numer of PODs. More...
 
class  Ase::FastMemory::NewDeleteBase
 
struct  Ase::FastMemory::Block
 Reference for an allocated memory block. More...
 
struct  Ase::FastMemory::Arena
 Memory area (over-)aligned to cache size and utilizing huge pages. More...
 
struct  Ase::FastMemory::HugePage
 Interface to the OS huge page allocator. More...
 
class  Ase::CString
 Compact, deduplicating string variant for constant strings. More...
 
struct  std::hash<::Ase::CString >
 

Namespaces

namespace  Ase
 The Anklang C++ API namespace.
 
namespace  Ase::FastMemory
 Utilities for allocating cache line aligned memory from huge pages.
 

Typedefs

using Ase::FastMemory::AllocatorP = std::shared_ptr< Allocator >
 
using Ase::FastMemory::HugePageP = HugePage::HugePageP
 
using Ase::CStringS = std::vector< CString >
 

Functions

void * Ase::fast_mem_alloc (size_t size)
 
void Ase::fast_mem_free (void *mem)
 

Variables

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