Re: [PATCH 2/2] cpustats: report user and sys times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/10/2012 04:25 AM, Osier Yang wrote:
> On 2012年03月10日 01:37, Eric Blake wrote:
>> Thanks to cgroups, providing user vs. system time of the overall
>> guest is easy to add to our existing API.
>>
>> * include/libvirt/libvirt.h.in (VIR_DOMAIN_CPU_STATS_USERTIME)
>> (VIR_DOMAIN_CPU_STATS_SYSTEMTIME): New constants.
>> * src/util/virtypedparam.h (virTypedParameterArrayValidate)
>> (virTypedParameterAssign): Enforce checking the result.
>> * src/qemu/qemu_driver.c (qemuDomainGetPercpuStats): Fix offender.
>> (qemuDomainGetTotalcpuStats): Implement new parameters.
>> * tools/virsh.c (cmdCPUStats): Tweak output accordingly.
>> ---
>>   include/libvirt/libvirt.h.in |   12 +++++++++++
>>   src/qemu/qemu_driver.c       |   45
>> ++++++++++++++++++++++++++++++++++-------
>>   src/util/virtypedparam.h     |    5 ++-
>>   tools/virsh.c                |   12 ++++++----
>>   4 files changed, 59 insertions(+), 15 deletions(-)
>>
> 
> ACK

Thanks; series pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]