Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Tracking
TrkDetDescr
TrkDetDescrUtils
TrkDetDescrUtils
MemoryLogger.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// MemoryLogger.h, (c) ATLAS Detector software
8
9
#ifndef TRKDETDESCRUTILS_MEMORYLOGGER_H
10
#define TRKDETDESCRUTILS_MEMORYLOGGER_H
11
12
#include <atomic>
13
#include <iostream>
14
// Gaudi
15
#include "GaudiKernel/MsgStream.h"
16
17
namespace
Trk
{
18
30
class
MemoryLogger
31
{
32
33
public
:
35
MemoryLogger
();
37
void
refresh
(
int
pid
)
const
;
38
40
float
vmSize
()
const
;
41
float
vmRss
()
const
;
42
43
private
:
44
mutable
std::atomic<float>
m_vsize
;
45
mutable
std::atomic<float>
m_rss
;
46
};
47
48
inline
float
49
MemoryLogger::vmSize
()
const
50
{
51
return
m_vsize
;
52
}
53
54
inline
float
55
MemoryLogger::vmRss
()
const
56
{
57
return
m_rss
;
58
}
59
61
MsgStream&
62
operator<<
(MsgStream& sl,
const
MemoryLogger
& oac);
63
std::ostream&
64
operator<<
(std::ostream& sl,
const
MemoryLogger
& oac);
65
66
}
// end of namespace Trk
67
68
#endif
Trk::MemoryLogger::refresh
void refresh(int pid) const
update the memory logger
Definition:
MemoryLogger.cxx:19
Trk::MemoryLogger::vmRss
float vmRss() const
Definition:
MemoryLogger.h:55
Trk::MemoryLogger::MemoryLogger
MemoryLogger()
Default constructor.
Definition:
MemoryLogger.cxx:13
Trk::MemoryLogger
Definition:
MemoryLogger.h:31
Trk::MemoryLogger::m_vsize
std::atomic< float > m_vsize
virtual memory size
Definition:
MemoryLogger.h:44
Trk::MemoryLogger::m_rss
std::atomic< float > m_rss
real memory size
Definition:
MemoryLogger.h:45
ParticleGun_EoverP_Config.pid
pid
Definition:
ParticleGun_EoverP_Config.py:62
Trk::MemoryLogger::vmSize
float vmSize() const
vsize/rss returnal
Definition:
MemoryLogger.h:49
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition:
AlignModule.cxx:204
Generated on Sun Mar 23 2025 21:14:42 for ATLAS Offline Software by
1.8.18