11 #ifndef __CE_MemoryPool__
12 #define __CE_MemoryPool__
48 void reportUsage()
const;
51 void reportUsage(std::ostream &os)
const;
80 ut_clBuffer(ut_clBuffer &&
b);
86 static exint size(
const ut_clBuffer &
b) {
return b.mySize; }
94 friend class ut_clBuffer;
110 int64 myTotalAllocSize;
112 mutable UT_Lock myMemoryPoolLock;
GLenum GLuint GLenum GLsizei const GLchar * buf
void setMaxSize(int64 size)
GLboolean GLboolean GLboolean b
int64 getMaxSize() const
Returns the maximum size of the pool.
LeafData & operator=(const LeafData &)=delete
**Note that the tasks the is the thread number *for the pool