![]() |
ATLAS Offline Software
|
Tool providing monitoring functionality for memory resources. More...
#include <MonitoredMemoryResourceTool.h>
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c AthDevice::IMemoryResourceTool | |
| 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 | |
| std::unique_ptr< std::pmr::memory_resource > | m_mr |
| The memory resource that this tool uses. | |
Tool properties | |
| ToolHandle< IMemoryResourceTool > | m_mrTool |
| Underlying memory resource to use for allocations. | |
| ServiceHandle< IMemoryMonitorSvc > | m_monitorSvc |
| Service collecting the memory monitoring information. | |
Tool providing monitoring functionality for memory resources.
Making use of AthDevice::MonitoredMemoryResource, which would in turn provide monitoring information to AthDevice::IMemoryMonitorSvc.
Definition at line 22 of file MonitoredMemoryResourceTool.h.
|
overridevirtual |
The name of the device for which the memory resource is provided.
Definition at line 45 of file MonitoredMemoryResourceTool.cxx.
|
overridevirtual |
Initialize the tool.
Definition at line 12 of file MonitoredMemoryResourceTool.cxx.
|
overridevirtual |
Get the provided std::pmr::memory_resource object.
Definition at line 39 of file MonitoredMemoryResourceTool.cxx.
|
private |
Service collecting the memory monitoring information.
Definition at line 60 of file MonitoredMemoryResourceTool.h.
|
private |
The memory resource that this tool uses.
Definition at line 50 of file MonitoredMemoryResourceTool.h.
|
private |
Underlying memory resource to use for allocations.
Definition at line 56 of file MonitoredMemoryResourceTool.h.