QuantumLibrary
|
Allows application-wide settings for the various allocators used by Quantum. More...
#include <quantum_allocator_traits.h>
Public Types | |
using | size_type = uint16_t |
Static Public Member Functions | |
static bool & | useDefaultAllocator () |
Get/set if the system allocator should be used for internal objects (other than coroutine stacks). More... | |
static bool & | useDefaultCoroAllocator () |
Get/set if the system allocator should be used for coroutine stacks. More... | |
static bool & | allocatePoolFromHeap () |
Get/set if the allocator pool for internal objects should use the heap or the application stack. More... | |
static size_type & | defaultPoolAllocSize () |
Get/set if the default size for internal object pools (other than coroutine stacks). More... | |
static size_type & | defaultCoroPoolAllocSize () |
Get/set if the default size for coroutine stack pools. More... | |
static size_type & | promiseAllocSize () |
Get/set if the default size for promise object pools. More... | |
static size_type & | futureAllocSize () |
Get/set if the default size for future object pools. More... | |
static size_type & | contextAllocSize () |
Get/set if the default size for context object pools. More... | |
static size_type & | taskAllocSize () |
Get/set if the default size for task object pools. More... | |
static size_type & | ioTaskAllocSize () |
Get/set if the default size for IO task object pools. More... | |
static size_type & | queueListAllocSize () |
Get/set if the default size for task queue pools. More... | |
Allows application-wide settings for the various allocators used by Quantum.
using Bloomberg::quantum::AllocatorTraits::size_type = uint16_t |
|
inlinestatic |
Get/set if the allocator pool for internal objects should use the heap or the application stack.
|
inlinestatic |
Get/set if the default size for context object pools.
|
inlinestatic |
Get/set if the default size for coroutine stack pools.
|
inlinestatic |
Get/set if the default size for internal object pools (other than coroutine stacks).
|
inlinestatic |
Get/set if the default size for future object pools.
|
inlinestatic |
Get/set if the default size for IO task object pools.
|
inlinestatic |
Get/set if the default size for promise object pools.
|
inlinestatic |
Get/set if the default size for task queue pools.
|
inlinestatic |
Get/set if the default size for task object pools.
|
inlinestatic |
Get/set if the system allocator should be used for internal objects (other than coroutine stacks).
|
inlinestatic |
Get/set if the system allocator should be used for coroutine stacks.