SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::MemoryEntry Class Reference

#include <MemoryEntry.h>

Static Public Member Functions

static ProcessState GetProcessState ()
 Get ProcessState Instance.
 
static void SetProcessState (ProcessState state)
 Set ProcessState Instance.
 
static void * mallocFromPool (size_t size)
 malloc memory from MemoryPool.
 
static void * mallocFromOS (size_t size)
 malloc memory from OS.
 
static void * mallocFromOS_Aligned (size_t size, std::align_val_t align)
 malloc memory from OS aligned version.
 
static void freeToPool (void *ptr)
 free memory to MemoryPool.
 
static void freeToOS (void *ptr)
 free memory to OS.
 
static void freeToOS_Aligned (void *ptr, std::align_val_t align)
 free memory to OS aligned version.
 

Static Private Attributes

static ProcessState processState = ProcessState::BeforeEntry
 Single Instance of ProcessState.
 

Detailed Description

Definition at line 21 of file MemoryEntry.h.


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