Re: [libvirt] [PATCH v2] BSD: implement nodeGetCPUStats

2014-01-17 Thread Daniel P. Berrange
On Wed, Jan 15, 2014 at 10:42:41PM +0400, Roman Bogorodskiy wrote: Implementation obtains CPU usage information using kern.cp_time and kern.cp_times sysctl(8)s and reports CPU utilization. --- include/libvirt/libvirt.h.in | 8 src/nodeinfo.c | 104

[libvirt] [PATCH v2] BSD: implement nodeGetCPUStats

2014-01-15 Thread Roman Bogorodskiy
Implementation obtains CPU usage information using kern.cp_time and kern.cp_times sysctl(8)s and reports CPU utilization. --- include/libvirt/libvirt.h.in | 8 src/nodeinfo.c | 104 +++ tools/virsh-host.c | 11 - 3 files