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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Gal Hammer <[email protected]>
Gerrit-Reviewer: Geert Jansen <[email protected]>
Gerrit-Reviewer: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Royce Lv <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to