ATLAS Offline Software
InnerDetector
InDetDigitization
SCT_Digitization
src
getMemUsage.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef PS_GETMEMUSAGE_H
8
#define PS_GETMEMUSAGE_H
9
#include <iosfwd>
10
11
namespace
PSUtils
12
{
13
struct
MemStruct
14
{
15
int
totalSize
{};
16
int
physicalMemSize
{};
17
int
sharedMemSize
{};
18
int
textSize
{};
19
int
sharedLibSize
{};
20
int
stackSize
{};
21
int
nDirtyPages
{};
22
};
23
24
25
MemStruct
getMemUsage
();
26
std::ostream&
operator<<
(std::ostream&,
const
MemStruct&);
27
std::istream&
operator>>
(std::istream&, MemStruct&);
28
}
29
#endif // PS_GETMEMUSAGE_H
PSUtils
Definition:
getMemUsage.cxx:12
PSUtils::MemStruct::nDirtyPages
int nDirtyPages
Definition:
getMemUsage.h:21
PSUtils::MemStruct::totalSize
int totalSize
Definition:
getMemUsage.h:15
PSUtils::MemStruct
Definition:
getMemUsage.h:14
PSUtils::MemStruct::physicalMemSize
int physicalMemSize
Definition:
getMemUsage.h:16
PSUtils::MemStruct::textSize
int textSize
Definition:
getMemUsage.h:18
PSUtils::MemStruct::stackSize
int stackSize
Definition:
getMemUsage.h:20
PSUtils::getMemUsage
MemStruct getMemUsage()
Definition:
getMemUsage.cxx:13
PSUtils::MemStruct::sharedLibSize
int sharedLibSize
Definition:
getMemUsage.h:19
PSUtils::MemStruct::sharedMemSize
int sharedMemSize
Definition:
getMemUsage.h:17
PSUtils::operator>>
std::istream & operator>>(std::istream &is, MemStruct &s)
Definition:
getMemUsage.cxx:36
PSUtils::operator<<
std::ostream & operator<<(std::ostream &os, const MemStruct &s)
Definition:
getMemUsage.cxx:25
Generated on Wed Jan 8 2025 21:10:22 for ATLAS Offline Software by
1.8.18