ATLAS Offline Software
Public Member Functions | List of all members
IPageAccessControlSvc Class Referenceabstract

Interface to a service that monitors memory page accesses. More...

#include <IPageAccessControlSvc.h>

Inheritance diagram for IPageAccessControlSvc:
Collaboration diagram for IPageAccessControlSvc:

Public Member Functions

 DeclareInterfaceID (IPageAccessControlSvc, 1, 0)
 Declare interface ID. More...
 
virtual ~IPageAccessControlSvc ()
 Virtualize D'tor. More...
 
virtual bool startMonitoring ()=0
 In baseline implementation, protect pages and install a SEGV handler that counts the number of accesses to a protected address. More...
 
virtual bool stopMonitoring ()=0
 
virtual bool accessed (const void *address) const =0
 has this pointer been accessed (read/written) More...
 
virtual void report () const =0
 In baseline implementation, controlled via PageAccessControlSvc.OutputLevel. More...
 
virtual bool controlPage (const void *address)=0
 control access to the page containing address More...
 

Detailed Description

Interface to a service that monitors memory page accesses.

Author
Paolo Calafiura

This interface allows to start and stop the monitoring and to print a report

Definition at line 19 of file IPageAccessControlSvc.h.

Constructor & Destructor Documentation

◆ ~IPageAccessControlSvc()

virtual IPageAccessControlSvc::~IPageAccessControlSvc ( )
inlinevirtual

Virtualize D'tor.

Definition at line 25 of file IPageAccessControlSvc.h.

25 {}

Member Function Documentation

◆ accessed()

virtual bool IPageAccessControlSvc::accessed ( const void *  address) const
pure virtual

has this pointer been accessed (read/written)

◆ controlPage()

virtual bool IPageAccessControlSvc::controlPage ( const void *  address)
pure virtual

control access to the page containing address

◆ DeclareInterfaceID()

IPageAccessControlSvc::DeclareInterfaceID ( IPageAccessControlSvc  ,
,
 
)

Declare interface ID.

◆ report()

virtual void IPageAccessControlSvc::report ( ) const
pure virtual

In baseline implementation, controlled via PageAccessControlSvc.OutputLevel.

◆ startMonitoring()

virtual bool IPageAccessControlSvc::startMonitoring ( )
pure virtual

In baseline implementation, protect pages and install a SEGV handler that counts the number of accesses to a protected address.

◆ stopMonitoring()

virtual bool IPageAccessControlSvc::stopMonitoring ( )
pure virtual

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