Class holding a chunk usage sample over time.
More...
Class holding a chunk usage sample over time.
Definition at line 60 of file MChunkUsage.h.
| std::string getCpuUsage |
( |
| ) |
|
- Returns
- the cpu usage of the sample
| std::string getDisksUsage |
( |
| ) |
|
- Returns
- the disks usage of the sample
- Returns
- the ID of this sample record
| std::string getNicsUsage |
( |
| ) |
|
- Returns
- the nics usage of the sample
| std::string getRamUsage |
( |
| ) |
|
- Returns
- the ram usage of the sample
| int getReferenceFrame |
( |
| ) |
|
- Returns
- the frame references by the sample
| time_t getSamplingTime |
( |
| ) |
|
- Returns
- the absolute time of the sample
| void setCpuUsage |
( |
std::string |
_cpuUsage | ) |
|
Sets the sample cpu usage
- Parameters
-
| [in] | _cpuUsage | The sample cpu usage |
| void setDisksUsage |
( |
std::string |
_disksUsage | ) |
|
Sets the sample disks usage
- Parameters
-
| [in] | _disksUsage | The sample disks usage |
Sets the id of the sample
- Parameters
-
| [in] | _id | The id of the sample |
| void setNicsUsage |
( |
std::string |
_nicsUsage | ) |
|
Sets the sample nics usage
- Parameters
-
| [in] | _nicsUsage | The sample nics usage |
| void setRamUsage |
( |
std::string |
_ramUsage | ) |
|
Sets the sample ram usage
- Parameters
-
| [in] | _ramUsage | The sample ram usage |
| void setReferenceFrame |
( |
int |
_referenceFrame | ) |
|
Sets the reference frame of the sample
- Parameters
-
| [in] | _referenceFrame | The reference frame of the sample |
| void setSamplingTime |
( |
time_t |
_samplingTime | ) |
|
Sets the absolute time of the sample
- Parameters
-
| [in] | _samplingTime | The absolute time of the sample |
The documentation for this class was generated from the following file: