src
PerfTools
AllocMonitor
interface
AllocMonitorBase.h
Go to the documentation of this file.
1
#ifndef AllocMonitor_interface_AllocMonitorBase_h
2
#define AllocMonitor_interface_AllocMonitorBase_h
3
// -*- C++ -*-
4
//
5
// Package: AllocMonitor/interface
6
// Class : AllocMonitorBase
7
//
21
//
22
// Original Author: Christopher Jones
23
// Created: Mon, 21 Aug 2023 14:03:34 GMT
24
//
25
26
// system include files
27
#include <stddef.h>
//size_t
28
29
// user include files
30
31
// forward declarations
32
33
namespace
cms::perftools
{
34
35
class
AllocMonitorBase
{
36
public
:
37
AllocMonitorBase
();
38
virtual
~AllocMonitorBase
();
39
40
AllocMonitorBase
(
const
AllocMonitorBase
&) =
delete
;
// stop default
41
AllocMonitorBase
(
AllocMonitorBase
&&) =
delete
;
// stop default
42
AllocMonitorBase
&
operator=
(
const
AllocMonitorBase
&) =
delete
;
// stop default
43
AllocMonitorBase
&
operator=
(
AllocMonitorBase
&&) =
delete
;
// stop default
44
45
// ---------- member functions ---------------------------
46
virtual
void
allocCalled
(
size_t
iRequestedSize,
size_t
iActualSize) = 0;
47
virtual
void
deallocCalled
(
size_t
iActualSize) = 0;
48
};
49
}
// namespace cms::perftools
50
#endif
cms::perftools
Definition:
AllocMonitorBase.h:33
cms::perftools::AllocMonitorBase::~AllocMonitorBase
virtual ~AllocMonitorBase()
Definition:
AllocMonitorBase.cc:33
cms::perftools::AllocMonitorBase::deallocCalled
virtual void deallocCalled(size_t iActualSize)=0
cms::perftools::AllocMonitorBase
Definition:
AllocMonitorBase.h:35
cms::perftools::AllocMonitorBase::allocCalled
virtual void allocCalled(size_t iRequestedSize, size_t iActualSize)=0
cms::perftools::AllocMonitorBase::operator=
AllocMonitorBase & operator=(const AllocMonitorBase &)=delete
cms::perftools::AllocMonitorBase::AllocMonitorBase
AllocMonitorBase()
Definition:
AllocMonitorBase.cc:31
Generated for CMSSW Reference Manual by
1.8.14