Change in vdsm[master]: report cpuUser and cpuSys separately (#800367)
danken at redhat.com
danken at redhat.com
Mon Oct 15 15:13:06 UTC 2012
Dan Kenigsberg has submitted this change and it was merged.
Change subject: report cpuUser and cpuSys separately (#800367)
......................................................................
report cpuUser and cpuSys separately (#800367)
Bug-Url: https://bugzilla.redhat.com/800367
Uses virDomainGetCPUStats to get the CPU information instead of info()
The content of the exported 'cpuSys' and 'cpuUser' changes:
- cpuSys is the sum of system_time and user_time reported by libvirt
since none of these include the guest time
- cpuUser is the time consumed only by the guest VM without the
system_time and the user_time
Change-Id: I663ad25ff3ff5ce426b5159b6c9a65b7f5167605
Signed-off-by: Laszlo Hornyak <lhornyak at redhat.com>
---
M vdsm/libvirtvm.py
M vdsm_api/vdsmapi-schema.json
2 files changed, 23 insertions(+), 8 deletions(-)
Approvals:
Laszlo Hornyak: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/7718
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I663ad25ff3ff5ce426b5159b6c9a65b7f5167605
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Gal Hammer <ghammer at redhat.com>
Gerrit-Reviewer: Geert Jansen <gjansen at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Royce Lv <lvroyce at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the vdsm-patches
mailing list