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
DRCEStatVariables.hpp
Go to the documentation of this file.
1
14
#ifndef DRCE_STAT_VARIABLES_HPP
15
#define DRCE_STAT_VARIABLES_HPP
16
17
#include <iostream>
18
19
namespace
HCE
20
{
21
namespace
drce
22
{
23
//-----------------------------------------------------------------------------
24
template
<
class
T>
25
struct
StatVariableData
26
{
27
StatVariableData
(
void
);
28
StatVariableData
(
const
StatVariableData
& rhs);
29
StatVariableData
(
StatVariableData
&& rhs);
30
31
StatVariableData
&
operator=
(
const
StatVariableData
& rhs);
32
StatVariableData
&
operator=
(
StatVariableData
&& rhs);
33
34
void
clear
(
void
);
35
36
T
min
;
// minimum value
37
T
avg
;
// average value
38
T
max
;
// maximum value
39
};
40
//-----------------------------------------------------------------------------
41
struct
StatVariables
42
{
43
StatVariables
(
void
);
44
StatVariables
(
const
StatVariables
& rhs);
45
StatVariables
(
StatVariables
&& rhs);
46
47
StatVariables
&
operator=
(
const
StatVariables
& rhs);
48
StatVariables
&
operator=
(
StatVariables
&& rhs);
49
50
void
clear
(
void
);
51
52
StatVariableData <double>
timeAsyncTask
;
// time working of async task
53
StatVariableData <double>
timeSyncTask
;
// time working of sync task
54
StatVariableData <size_t>
sizeInputBufferSyncTasks
;
// size of input buffer stdin for sync tasks
55
StatVariableData <size_t>
sizeOutputBufferSyncTasks
;
// size of output buffer stdout for sync tasks
56
StatVariableData <size_t>
sizeInputBufferAsyncTasks
;
// size of input buffer stdin for async tasks
57
StatVariableData <size_t>
sizeOutputBufferAsyncTasks
;
// size of output buffer stdout for async tasks
58
StatVariableData <double>
cpuUsageAsyncTasks
;
// cpu usage only async tasks
59
StatVariableData <size_t>
memoryUsageAsyncTasks
;
// memory usage only async tasks
60
StatVariableData <double>
countSyncTasksForMinute
;
// count of sync tasks for minute
61
StatVariableData <double>
countAsyncTasksForMinute
;
// count of async tasks for minute
62
63
size_t
countSyncTasks
;
// full count sync tasks for all time
64
size_t
countAsyncTasks
;
// full count async tasks for all time
65
size_t
countSyncTasksFail
;
// full count sync tasks returned error for all time
66
size_t
countAsyncTasksFail
;
// full count async tasks returned error for all time
67
};
68
//-----------------------------------------------------------------------------
69
//-----------------------------------------------------------------------------
70
}
// end namespace drce
71
}
// end namespace HCE
72
73
#endif // DRCE_STAT_VARIABLES_HPP
sources
utils
DRCE
src
DRCEStatVariables.hpp
Generated on Tue Jun 30 2015 19:42:12 for hce-node application by
1.8.1.2