![]() |
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 service. | |
Function(s) inherited from @c IMemoryResourceSvc | |
| virtual std::pmr::memory_resource & | mr () const override |
Get the provided std::pmr::memory_resource object. | |
| virtual std::string_view | deviceName () const override |
| The name of the device for which the memory resource is provided. | |
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 |
The name of the device for which the memory resource is provided.
Definition at line 40 of file PoolMemoryResourceSvc.cxx.
|
overridevirtual |
Initialize the service.
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 96 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 112 of file PoolMemoryResourceSvc.h.
|
private |
The memory resource that this tool uses for caching.
Definition at line 54 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 107 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 102 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 90 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 69 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 79 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 64 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 74 of file PoolMemoryResourceSvc.h.
|
private |
Handle to the tool providing the underlying memory resource.
Definition at line 51 of file PoolMemoryResourceSvc.h.
|
private |
Options object for the underlying pool memory resource.
Definition at line 62 of file PoolMemoryResourceSvc.h.
|
private |
Definition at line 85 of file PoolMemoryResourceSvc.h.
|
private |
The memory resource that this tool uses for synchronization.
Definition at line 56 of file PoolMemoryResourceSvc.h.