![]() |
ATLAS Offline Software
|
Service implementing "binary page" caching on top of another memory resource. More...
#include <BinaryPageMemoryResourceSvc.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 implementing "binary page" caching on top of another memory resource.
Making use of vecmem::binary_page_memory_resource.
Definition at line 21 of file BinaryPageMemoryResourceSvc.h.
|
overridevirtual |
Initialize the tool.
Definition at line 17 of file BinaryPageMemoryResourceSvc.cxx.
|
overridevirtual |
Get the provided std::pmr::memory_resource object.
Definition at line 33 of file BinaryPageMemoryResourceSvc.cxx.
|
private |
The memory resource that this tool uses for caching.
Definition at line 49 of file BinaryPageMemoryResourceSvc.h.
|
private |
Handle to the tool providing the underlying memory resource.
Definition at line 46 of file BinaryPageMemoryResourceSvc.h.
|
private |
The memory resource that this tool uses for synchronization.
Definition at line 51 of file BinaryPageMemoryResourceSvc.h.