hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 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 //-----------------------------------------------------------------------------
26 {
27  ResourceUsageLimits(void);
30 
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 //-----------------------------------------------------------------------------
45 {
46  ResourceLimits(void);
47  ResourceLimits(const ResourceLimits& rhs);
49 
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 
67 };
68 //-----------------------------------------------------------------------------
69 //-----------------------------------------------------------------------------
70 } // end namespace drce
71 } // end namespace HCE
72 
73 #endif // DRCE_RESOURCE_LIMITS_HPP