Gaudi Framework, version v23r6
Home
Generated: Wed Jan 30 2013
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
GaudiKernel
GaudiKernel
Memory.h
Go to the documentation of this file.
1
// $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/Memory.h,v 1.2 2006/12/10 20:29:17 leggett Exp $
2
//====================================================================
3
// Memory.h
4
//--------------------------------------------------------------------
5
//
6
// Package : System (The LHCb System service)
7
//
8
// Description: Information of memory usage from a given process
9
//
10
// Author : M.Frank
11
// Created : 13/11/00
12
// Changes :
13
//
14
//====================================================================
15
#ifndef GAUDIKERNEL_MEMORY_H
16
#define GAUDIKERNEL_MEMORY_H
17
18
// Framework include files
19
#include "
GaudiKernel/Kernel.h
"
20
#include "
GaudiKernel/SystemBase.h
"
21
22
55
namespace
System
{
57
enum
MemoryUnit
{
Byte
,
kByte
,
MByte
,
GByte
,
TByte
,
PByte
,
EByte
};
59
GAUDI_API
long
adjustMemory
(
MemoryUnit
typ,
long
value);
61
GAUDI_API
long
procID
();
63
GAUDI_API
long
parentID
(
InfoType
fetch =
ProcessBasics
,
long
pid = -1);
65
GAUDI_API
long
affinityMask
(
InfoType
fetch =
ProcessBasics
,
long
pid = -1);
67
GAUDI_API
long
exitStatus
(
InfoType
fetch =
ProcessBasics
,
long
pid = -1);
69
GAUDI_API
long
basePriority
(
InfoType
fetch =
ProcessBasics
,
long
pid = -1);
71
GAUDI_API
long
priorityBoost
(
InfoType
fetch =
PriorityBoost
,
long
pid = -1);
72
74
GAUDI_API
long
numPageFault
(
InfoType
fetch =
Memory
,
long
pid = -1);
76
GAUDI_API
long
pagefileUsage
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1);
78
GAUDI_API
long
pagefileUsagePeak
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1);
80
GAUDI_API
long
pagefileUsageLimit
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Quota
,
long
pid = -1);
81
83
GAUDI_API
long
nonPagedMemory
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
85
GAUDI_API
long
nonPagedMemoryPeak
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
87
GAUDI_API
long
nonPagedMemoryLimit
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Quota
,
long
pid = -1 );
88
90
GAUDI_API
long
pagedMemory
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
92
GAUDI_API
long
pagedMemoryPeak
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
94
GAUDI_API
long
pagedMemoryLimit
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Quota
,
long
pid = -1 );
95
97
GAUDI_API
long
minMemoryLimit
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Quota
,
long
pid = -1 );
99
GAUDI_API
long
maxMemoryLimit
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Quota
,
long
pid = -1 );
101
GAUDI_API
long
mappedMemory
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
103
GAUDI_API
long
mappedMemoryPeak
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
105
GAUDI_API
long
virtualMemory
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
107
GAUDI_API
long
virtualMemoryPeak
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Memory
,
long
pid = -1 );
109
GAUDI_API
long
virtualMemoryLimit
(
MemoryUnit
unit =
kByte
,
InfoType
fetch =
Quota
,
long
pid = -1 );
110
}
111
#endif //GAUDIKERNEL_MEMORY_H
Generated at Wed Jan 30 2013 17:13:39 for Gaudi Framework, version v23r6 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004