ATLAS Offline Software
Loading...
Searching...
No Matches
AthDevice::IMemoryMonitorSvc Class Referenceabstract

Interface to a service that provides "device memory monitoring". More...

#include <IMemoryMonitorSvc.h>

Inheritance diagram for AthDevice::IMemoryMonitorSvc:
Collaboration diagram for AthDevice::IMemoryMonitorSvc:

Public Member Functions

 DeclareInterfaceID (IMemoryMonitorSvc, 1, 0)
 Declare the interface that the service will implement.
virtual ~IMemoryMonitorSvc ()=default
 Destructor.
Memory allocation monitoring
virtual void memoryAllocated (const std::string &component, const std::string &device, std::size_t bytes)=0
 Notify the service that a memory allocation has been made.
virtual void memoryDeallocated (const std::string &component, const std::string &device, std::size_t bytes)=0
 Notify the service that a memory deallocation has been made.
Memory copy monitoring
virtual void memoryCopied (const std::string &component, vecmem::copy::type::copy_type type, std::size_t bytes)=0
 Notify the service that a memory copy has been made.

Detailed Description

Interface to a service that provides "device memory monitoring".

Definition at line 20 of file IMemoryMonitorSvc.h.

Constructor & Destructor Documentation

◆ ~IMemoryMonitorSvc()

virtual AthDevice::IMemoryMonitorSvc::~IMemoryMonitorSvc ( )
virtualdefault

Destructor.

Member Function Documentation

◆ DeclareInterfaceID()

AthDevice::IMemoryMonitorSvc::DeclareInterfaceID ( IMemoryMonitorSvc ,
1 ,
0  )

Declare the interface that the service will implement.

◆ memoryAllocated()

virtual void AthDevice::IMemoryMonitorSvc::memoryAllocated ( const std::string & component,
const std::string & device,
std::size_t bytes )
pure virtual

Notify the service that a memory allocation has been made.

◆ memoryCopied()

virtual void AthDevice::IMemoryMonitorSvc::memoryCopied ( const std::string & component,
vecmem::copy::type::copy_type type,
std::size_t bytes )
pure virtual

Notify the service that a memory copy has been made.

◆ memoryDeallocated()

virtual void AthDevice::IMemoryMonitorSvc::memoryDeallocated ( const std::string & component,
const std::string & device,
std::size_t bytes )
pure virtual

Notify the service that a memory deallocation has been made.


The documentation for this class was generated from the following file: