]> xenbits.xensource.com Git - libvirt.git/commit
bhyve: report cpuTime in bhyveDomainGetInfo
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 21 Apr 2014 10:59:58 +0000 (14:59 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 5 May 2014 14:03:15 +0000 (18:03 +0400)
commit0541727cf7b188023509d30764bfc782c1e3c99c
tree1752d754e179fec35480876ef771525497d5670a
parent6d105946a9427a53c4f1c1c95da3c1aa2eb4e5f4
bhyve: report cpuTime in bhyveDomainGetInfo

Add a helper function virBhyveGetDomainTotalCpuStats() to
obtain process CPU time using kvm (kernel memory interface)
and use it to set cpuTime field of the virDomainInfo struct in
bhyveDomainGetInfo().
configure.ac
src/bhyve/bhyve_driver.c
src/bhyve/bhyve_process.c
src/bhyve/bhyve_process.h