![]() |
ATLAS Offline Software
|
Service implementing "pooled" caching on top of another memory resource. More...
#include <PoolMemoryResourceSvc.h>
Public Member Functions | |
Function(s) inherited from @c AthService | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c IMemoryResourceSvc | |
| virtual std::pmr::memory_resource & | mr () const override |
Get the provided std::pmr::memory_resource object. | |
Private Attributes | |
| ToolHandle< IMemoryResourceTool > | m_mrTool |
| Handle to the tool providing the underlying memory resource. | |
| std::unique_ptr< std::pmr::memory_resource > | m_cachedMR |
| The memory resource that this tool uses for caching. | |
| std::unique_ptr< std::pmr::memory_resource > | m_syncedMR |
| The memory resource that this tool uses for synchronization. | |
Service properties | |
| vecmem::pool_memory_resource::options | m_opts |
| Options object for the underlying pool memory resource. | |
| Gaudi::Property< std::size_t > | m_minBlocksPerChunk |
| Gaudi::Property< std::size_t > | m_maxBlocksPerChunk |
| Gaudi::Property< std::size_t > | m_minBytesPerChunk |
| Gaudi::Property< std::size_t > | m_maxBytesPerChunk |
| Gaudi::Property< std::size_t > | m_smallestBlockSize |
| Gaudi::Property< std::size_t > | m_largestBlockSize |
| Gaudi::Property< std::size_t > | m_alignment |
| Gaudi::Property< bool > | m_cacheOversized |
| Gaudi::Property< std::size_t > | m_cachedSizeCutoffFactor |
| Gaudi::Property< std::size_t > | m_cachedAlignmentCutoffFactor |
Service implementing "pooled" caching on top of another memory resource.
Making use of vecmem::pool_memory_resource.
Definition at line 24 of file PoolMemoryResourceSvc.h.
|
overridevirtual |
Initialize the tool.
Definition at line 17 of file PoolMemoryResourceSvc.cxx.
|
overridevirtual |
Get the provided std::pmr::memory_resource object.
Definition at line 33 of file PoolMemoryResourceSvc.cxx.
|
private |
Definition at line 93 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 109 of file PoolMemoryResourceSvc.h.
|
private |
The memory resource that this tool uses for caching.
Definition at line 51 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 104 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 99 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 87 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 66 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 76 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 61 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 71 of file PoolMemoryResourceSvc.h.
|
private |
Handle to the tool providing the underlying memory resource.
Definition at line 48 of file PoolMemoryResourceSvc.h.
|
private |
Options object for the underlying pool memory resource.
Definition at line 59 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 82 of file PoolMemoryResourceSvc.h.
|
private |
The memory resource that this tool uses for synchronization.
Definition at line 53 of file PoolMemoryResourceSvc.h.