gwnavgeneration/common/growingsmallbuffer.h Source File
Go to the documentation of this file.
19 class GrowingSmallBufferPool
23 explicit GrowingSmallBufferPool(MemoryHeap* heap,
KyUInt32 byteCountInChunk = 0);
25 ~GrowingSmallBufferPool();
29 void* GetNewBuffer(
KyUInt32 byteCount);
35 KyUInt32 ByteCountAllocated()
const {
return m_byteCountAllocated; }
40 KyArrayTLS_POD<KyUInt32*> m_chunks;
44 KyArrayTLS_POD<KyUInt32*> m_oversizedBuffers;
51 KY_INLINE
KyUInt32 GrowingSmallBufferPool::GetWordCount(
KyInt32 byteCount)
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
std::int32_t KyInt32
int32_t
Definition: types.h:24