SpiecsEngine
 
Loading...
Searching...
No Matches

◆ mallocFromOS()

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

malloc memory from OS.

Parameters
[in]sizebytes.
Returns
Return memory pointer.

Definition at line 62 of file MemoryEntry.h.

63 {
64 void* ptr = malloc(size);
65
67
68 return std::move(ptr);
69 }
#define SPICES_PROFILE_ALLOC_N(ptr, size, name)
static const char * memoryPoolNames[3]
MemoryPool's name.
Definition Core.h:43