ATLAS Offline Software
Loading...
Searching...
No Matches
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>
13
14namespace 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:
30 };
31}
32#endif
Monitor(const Monitor &)=delete
CoWTools::CoWRecordStats m_stats
Definition Monitor.h:29
const CoWTools::CoWRecordStats parseSmaps() const
Definition Monitor.cxx:33
Monitor(std::string &out)
Definition Monitor.cxx:13
Monitor & operator=(const Monitor &)=delete
StreamBase * m_out
Definition Monitor.h:28