#include <vm_stat.h>
|
typedef boost::function< void(void)> | DoneCb |
|
Definition at line 17 of file vm_stat.h.
◆ DoneCb
◆ VmStat()
◆ ~VmStat()
◆ BuildVmMsg()
bool VmStat::BuildVmMsg |
( |
UveVirtualMachineAgent * |
uve | ) |
|
|
private |
◆ BuildVmStatsMsg()
bool VmStat::BuildVmStatsMsg |
( |
VirtualMachineStats * |
uve | ) |
|
|
private |
◆ DISALLOW_COPY_AND_ASSIGN()
VmStat::DISALLOW_COPY_AND_ASSIGN |
( |
VmStat |
| ) |
|
|
protected |
◆ ExecCmd()
void VmStat::ExecCmd |
( |
std::string |
cmd, |
|
|
DoneCb |
cb |
|
) |
| |
|
protected |
◆ marked_delete()
bool VmStat::marked_delete |
( |
| ) |
const |
|
inline |
◆ ProcessData()
void VmStat::ProcessData |
( |
| ) |
|
◆ ReadData()
void VmStat::ReadData |
( |
const boost::system::error_code & |
ec, |
|
|
size_t |
read_bytes, |
|
|
DoneCb & |
cb |
|
) |
| |
|
private |
◆ SendVmCpuStats()
void VmStat::SendVmCpuStats |
( |
| ) |
|
|
protected |
◆ Start()
◆ StartTimer()
void VmStat::StartTimer |
( |
| ) |
|
|
protected |
◆ Stop()
◆ TimerExpiry()
bool VmStat::TimerExpiry |
( |
| ) |
|
|
privatevirtual |
◆ agent_
◆ call_back_
◆ cpu_usage_
double VmStat::cpu_usage_ |
|
protected |
◆ data_
std::stringstream VmStat::data_ |
|
protected |
◆ disk_name_
std::string VmStat::disk_name_ |
|
protected |
◆ disk_size_
uint32_t VmStat::disk_size_ |
|
protected |
◆ input_
boost::asio::posix::stream_descriptor VmStat::input_ |
|
protected |
◆ kBufLen
const size_t VmStat::kBufLen = 4098 |
|
static |
◆ kInvalidCpuCount
const uint16_t VmStat::kInvalidCpuCount = 0xFFFF |
|
static |
◆ kRetryCount
const uint32_t VmStat::kRetryCount = 3 |
|
static |
◆ marked_delete_
bool VmStat::marked_delete_ |
|
protected |
◆ mem_usage_
uint32_t VmStat::mem_usage_ |
|
protected |
◆ pid_
◆ prev_cpu_snapshot_time_
time_t VmStat::prev_cpu_snapshot_time_ |
|
protected |
◆ prev_cpu_stat_
double VmStat::prev_cpu_stat_ |
|
protected |
◆ prev_vcpu_snapshot_time_
time_t VmStat::prev_vcpu_snapshot_time_ |
|
protected |
◆ prev_vcpu_usage_
std::vector<double> VmStat::prev_vcpu_usage_ |
|
protected |
◆ prev_vm_cpu_count_
uint16_t VmStat::prev_vm_cpu_count_ |
|
protected |
◆ prev_vm_state_
◆ retry_
◆ rx_buff_
◆ timer_
◆ vcpu_usage_percent_
std::vector<double> VmStat::vcpu_usage_percent_ |
|
protected |
◆ virt_memory_
uint32_t VmStat::virt_memory_ |
|
protected |
◆ virt_memory_peak_
uint32_t VmStat::virt_memory_peak_ |
|
protected |
◆ virtual_size_
uint32_t VmStat::virtual_size_ |
|
protected |
◆ vm_cpu_count_
uint16_t VmStat::vm_cpu_count_ |
|
protected |
◆ vm_memory_quota_
uint32_t VmStat::vm_memory_quota_ |
|
protected |
◆ vm_state_
◆ vm_uuid_
The documentation for this class was generated from the following files: