hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
DRCEResourceLimits.hpp
Go to the documentation of this file.
1
14
#ifndef DRCE_RESOURCE_LIMITS_HPP
15
#define DRCE_RESOURCE_LIMITS_HPP
16
17
#include <utility>
18
#include <stddef.h>
19
20
namespace
HCE
21
{
22
namespace
drce
23
{
24
//-----------------------------------------------------------------------------
25
struct
ResourceUsageLimits
26
{
27
ResourceUsageLimits
(
void
);
28
ResourceUsageLimits
(
const
ResourceUsageLimits
& rhs);
29
ResourceUsageLimits
(
ResourceUsageLimits
&& rhs);
30
31
ResourceUsageLimits
&
operator=
(
const
ResourceUsageLimits
& rhs);
32
ResourceUsageLimits
&
operator=
(
ResourceUsageLimits
&& rhs);
33
34
void
clear
(
void
);
35
36
double
iowaitMax
;
37
double
vramMax
;
38
double
rramMax
;
39
double
diskMax
;
40
size_t
diskMaxBytes
;
41
};
42
//-----------------------------------------------------------------------------
43
//-----------------------------------------------------------------------------
44
struct
ResourceLimits
45
{
46
ResourceLimits
(
void
);
47
ResourceLimits
(
const
ResourceLimits
& rhs);
48
ResourceLimits
(
ResourceLimits
&& rhs);
49
50
ResourceLimits
&
operator=
(
const
ResourceLimits
& rhs);
51
ResourceLimits
&
operator=
(
ResourceLimits
&& rhs);
52
53
void
clear
(
void
);
54
55
unsigned
int
procMax
;
56
unsigned
int
threadsMax
;
57
double
cpuMax
;
58
double
iowaitMax
;
59
double
vramFree
;
60
size_t
vramFreeMin
;
61
double
rramFree
;
62
size_t
rramFreeMin
;
63
double
diskFree
;
64
size_t
diskFreeMin
;
65
66
ResourceUsageLimits
usageLimits
;
67
};
68
//-----------------------------------------------------------------------------
69
//-----------------------------------------------------------------------------
70
}
// end namespace drce
71
}
// end namespace HCE
72
73
#endif // DRCE_RESOURCE_LIMITS_HPP
sources
utils
DRCE
src
DRCEResourceLimits.hpp
Generated on Tue Jun 30 2015 19:42:11 for hce-node application by
1.8.1.2