Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IMemoryPool Class Referenceabstract

Interface of a memory pool. More...

#include <arccore/common/IMemoryPool.h>

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.

Detailed Description

Interface of a memory pool.

Definition at line 31 of file IMemoryPool.h.

Member Function Documentation

◆ setMaxCachedBlockSize()

virtual void Arcane::IMemoryPool::setMaxCachedBlockSize ( Int32 v)
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.


The documentation for this class was generated from the following file: