SpiecsEngine
 
Loading...
Searching...
No Matches

◆ mallocFromPool()

static void * Spices::MemoryEntry::mallocFromPool ( size_t size)
inlinestatic

malloc memory from MemoryPool.

Parameters
[in]sizebytes.
Returns
Return memory pointer.

Definition at line 48 of file MemoryEntry.h.

49 {
50 void* ptr = Spices::MemoryPool::Alloc(size);
51
53
54 return std::move(ptr);
55 }
#define SPICES_PROFILE_ALLOC_N(ptr, size, name)
static void * Alloc(size_t size)
Alloc memory entry point.
static const char * memoryPoolNames[3]
MemoryPool's name.
Definition Core.h:43