Interface of a memory pool. More...
Public Member Functions | |
| virtual void | setMaxCachedBlockSize (Int32 v)=0 |
| Sets the byte size from which a block is not kept in the cache. | |
| virtual void | freeCachedMemory ()=0 |
| Frees the memory in the cache. | |
| virtual Int64 | totalAllocated () const =0 |
| Total size (in bytes) allocated in the memory pool. | |
| virtual Int64 | totalCached () const =0 |
| Total size (in bytes) in the cache. | |
Interface of a memory pool.
Definition at line 31 of file IMemoryPool.h.
|
pure virtual |
Frees the memory in the cache.
Implemented in Arcane::Impl::MemoryPool.
|
pure virtual |
Sets the byte size from which a block is not kept in the cache.
This method can only be called if there are no blocks in the cache.
Implemented in Arcane::Impl::MemoryPool.
|
pure virtual |
Total size (in bytes) allocated in the memory pool.
Implemented in Arcane::Impl::MemoryPool.
|
pure virtual |
Total size (in bytes) in the cache.
Implemented in Arcane::Impl::MemoryPool.