ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
myBlocks_tc Class Reference

#include <memory_hooks-common.h>

Inheritance diagram for myBlocks_tc:
Collaboration diagram for myBlocks_tc:

Public Member Functions

 myBlocks_tc ()
 
 myBlocks_tc (uintptr_t mem, uintptr_t s, uint32_t algi, uint32_t cstage, size_t stDepth)
 

Public Attributes

uintptr_t allocated
 
uintptr_t allocsize
 
uint32_t algindex
 
uint32_t curstage
 
std::vector< void * > allocatedFrom
 
boost::intrusive::bs_set_member_hook member_hook_
 

Friends

bool operator< (const myBlocks_tc &a, const myBlocks_tc &b)
 
bool operator> (const myBlocks_tc &a, const myBlocks_tc &b)
 
bool operator== (const myBlocks_tc &a, const myBlocks_tc &b)
 

Detailed Description

Definition at line 65 of file memory_hooks-common.h.

Constructor & Destructor Documentation

◆ myBlocks_tc() [1/2]

myBlocks_tc::myBlocks_tc ( )
inline

Definition at line 77 of file memory_hooks-common.h.

78  : allocated(0)
79  , allocsize(0)
80  , algindex(0)
81  , curstage(0)
82  { };

◆ myBlocks_tc() [2/2]

myBlocks_tc::myBlocks_tc ( uintptr_t  mem,
uintptr_t  s,
uint32_t  algi,
uint32_t  cstage,
size_t  stDepth 
)
inline

Definition at line 84 of file memory_hooks-common.h.

85  : allocated(mem)
86  , allocsize(s)
87  , algindex(algi)
88  , curstage(cstage)
89  , allocatedFrom(stDepth,nullptr) { };

Friends And Related Function Documentation

◆ operator<

bool operator< ( const myBlocks_tc a,
const myBlocks_tc b 
)
friend

Definition at line 91 of file memory_hooks-common.h.

92  {
93  return a.allocated < b.allocated;
94  };

◆ operator==

bool operator== ( const myBlocks_tc a,
const myBlocks_tc b 
)
friend

Definition at line 101 of file memory_hooks-common.h.

102  {
103  return a.allocated == b.allocated;
104  };

◆ operator>

bool operator> ( const myBlocks_tc a,
const myBlocks_tc b 
)
friend

Definition at line 96 of file memory_hooks-common.h.

97  {
98  return a.allocated > b.allocated;
99  };

Member Data Documentation

◆ algindex

uint32_t myBlocks_tc::algindex

Definition at line 70 of file memory_hooks-common.h.

◆ allocated

uintptr_t myBlocks_tc::allocated

Definition at line 68 of file memory_hooks-common.h.

◆ allocatedFrom

std::vector<void*> myBlocks_tc::allocatedFrom

Definition at line 72 of file memory_hooks-common.h.

◆ allocsize

uintptr_t myBlocks_tc::allocsize

Definition at line 69 of file memory_hooks-common.h.

◆ curstage

uint32_t myBlocks_tc::curstage

Definition at line 71 of file memory_hooks-common.h.

◆ member_hook_

boost::intrusive::bs_set_member_hook myBlocks_tc::member_hook_

Definition at line 75 of file memory_hooks-common.h.


The documentation for this class was generated from the following file:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
myBlocks_tc::allocsize
uintptr_t allocsize
Definition: memory_hooks-common.h:69
myBlocks_tc::allocated
uintptr_t allocated
Definition: memory_hooks-common.h:68
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
myBlocks_tc::allocatedFrom
std::vector< void * > allocatedFrom
Definition: memory_hooks-common.h:72
a
TList * a
Definition: liststreamerinfos.cxx:10
myBlocks_tc::algindex
uint32_t algindex
Definition: memory_hooks-common.h:70
myBlocks_tc::curstage
uint32_t curstage
Definition: memory_hooks-common.h:71