MChunkUsage Class Reference

Class holding a chunk usage sample over time. More...

Public Member Functions

std::string getCpuUsage ()
 
std::string getDisksUsage ()
 
long getId ()
 
std::string getNicsUsage ()
 
std::string getRamUsage ()
 
int getReferenceFrame ()
 
time_t getSamplingTime ()
 
 MChunkUsage ()
 
void setCpuUsage (std::string _cpuUsage)
 
void setDisksUsage (std::string _disksUsage)
 
void setId (long _id)
 
void setNicsUsage (std::string _nicsUsage)
 
void setRamUsage (std::string _ramUsage)
 
void setReferenceFrame (int _referenceFrame)
 
void setSamplingTime (time_t _samplingTime)
 
 ~MChunkUsage ()
 

Detailed Description

Class holding a chunk usage sample over time.

Definition at line 60 of file MChunkUsage.h.

Constructor & Destructor Documentation

Default constructor

Default destructor

Member Function Documentation

std::string getCpuUsage ( )
Returns
the cpu usage of the sample
std::string getDisksUsage ( )
Returns
the disks usage of the sample
long getId ( )
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]_cpuUsageThe sample cpu usage
void setDisksUsage ( std::string  _disksUsage)

Sets the sample disks usage

Parameters
[in]_disksUsageThe sample disks usage
void setId ( long  _id)

Sets the id of the sample

Parameters
[in]_idThe id of the sample
void setNicsUsage ( std::string  _nicsUsage)

Sets the sample nics usage

Parameters
[in]_nicsUsageThe sample nics usage
void setRamUsage ( std::string  _ramUsage)

Sets the sample ram usage

Parameters
[in]_ramUsageThe sample ram usage
void setReferenceFrame ( int  _referenceFrame)

Sets the reference frame of the sample

Parameters
[in]_referenceFrameThe reference frame of the sample
void setSamplingTime ( time_t  _samplingTime)

Sets the absolute time of the sample

Parameters
[in]_samplingTimeThe absolute time of the sample

The documentation for this class was generated from the following file: