Re: [libvirt] [PATCHv5 1/2] Add a new param 'vcpu_time' to virDomainGetCPUStats

2012-05-18 Thread Hu Tao
On Thu, May 17, 2012 at 03:56:47PM -0600, Eric Blake wrote: From: Hu Tao hu...@cn.fujitsu.com Currently virDomainGetCPUStats gets total cpu usage, which consists of: 1. vcpu usage: the physical cpu time consumed by virtual cpu(s) of domain 2. hypervisor: `total cpu usage' -

[libvirt] [PATCHv5 1/2] Add a new param 'vcpu_time' to virDomainGetCPUStats

2012-05-17 Thread Eric Blake
From: Hu Tao hu...@cn.fujitsu.com Currently virDomainGetCPUStats gets total cpu usage, which consists of: 1. vcpu usage: the physical cpu time consumed by virtual cpu(s) of domain 2. hypervisor: `total cpu usage' - `vcpu usage' The param 'vcpu_time' is for getting vcpu usages. ---