ATLAS Offline Software
Control
CoWTools
CoWTools
Monitor.h
Go to the documentation of this file.
1
// ---*- c++ -*--
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef COWTOOLS_MONITOR_H
8
#define COWTOOLS_MONITOR_H
9
10
#include "GaudiKernel/MsgStream.h"
11
#include <vector>
12
#include "
CoWTools/CoWRecordStats.h
"
13
14
namespace
CoWTools
{
15
class
StreamBase;
16
class
Monitor
{
17
public
:
18
enum
VecPos
{
VMem
=0,
RSS
=1,
PSS
=2,
Shared
=3,
Private
=4,
Anon
=5};
19
Monitor
(std::string &
out
);
20
Monitor
(MsgStream &
out
);
21
Monitor
(std::vector<long> &
out
);
22
~Monitor
();
23
24
Monitor
(
const
Monitor
&) =
delete
;
25
Monitor
&
operator=
(
const
Monitor
&) =
delete
;
26
private
:
27
const
CoWTools::CoWRecordStats
parseSmaps
()
const
;
28
StreamBase
*
m_out
;
29
CoWTools::CoWRecordStats
m_stats
;
30
};
31
}
32
#endif
CoWTools::Monitor::m_stats
CoWTools::CoWRecordStats m_stats
Definition:
Monitor.h:29
CoWTools::Monitor::m_out
StreamBase * m_out
Definition:
Monitor.h:28
CoWTools::Monitor::Anon
@ Anon
Definition:
Monitor.h:18
CoWTools::Monitor::parseSmaps
const CoWTools::CoWRecordStats parseSmaps() const
Definition:
Monitor.cxx:33
python.AthDsoLogger.out
out
Definition:
AthDsoLogger.py:71
CoWTools::Monitor::Monitor
Monitor(const Monitor &)=delete
CoWTools::Monitor::Private
@ Private
Definition:
Monitor.h:18
CoWTools::Monitor::~Monitor
~Monitor()
Definition:
Monitor.cxx:27
CoWTools::Monitor
Definition:
Monitor.h:16
CoWTools::Monitor::Monitor
Monitor(std::string &out)
Definition:
Monitor.cxx:13
CoWTools::Monitor::VecPos
VecPos
Definition:
Monitor.h:18
CoWTools::StreamBase
Definition:
StreamBase.h:12
CoWTools::Monitor::VMem
@ VMem
Definition:
Monitor.h:18
CoWTools::Monitor::operator=
Monitor & operator=(const Monitor &)=delete
CoWTools::CoWRecordStats
Definition:
CoWRecordStats.h:13
CoWTools
Definition:
CoWLibrary.h:15
CoWTools::Monitor::PSS
@ PSS
Definition:
Monitor.h:18
CoWTools::Monitor::Shared
@ Shared
Definition:
Monitor.h:18
CoWRecordStats.h
CoWTools::Monitor::RSS
@ RSS
Definition:
Monitor.h:18
Generated on Wed Jan 8 2025 21:13:54 for ATLAS Offline Software by
1.8.18