12#ifndef ARCCORE_COMMON_IMEMORYPOOL_H
13#define ARCCORE_COMMON_IMEMORYPOOL_H
17#include "arccore/common/CommonGlobal.h"
Interface of a memory pool.
virtual void setMaxCachedBlockSize(Int32 v)=0
Sets the byte size from which a block is not kept 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.
virtual void freeCachedMemory()=0
Frees the memory in the cache.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
std::int32_t Int32
Signed integer type of 32 bits.