diff options
author | Guannan Ren <gren@redhat.com> | 2012-03-20 12:34:06 +0800 |
---|---|---|
committer | Laine Stump <laine@laine.org> | 2012-03-22 10:55:48 -0400 |
commit | 65ef8171496537b49fcdd0a5b833d61a8ad23351 (patch) | |
tree | 02f95b007109042a8379c041c1e38ab4aaf1daa9 /libvirt-qemu-override-api.xml | |
parent | debe58f6f7609abcb330b5ab4f69f7ffab830b08 (diff) | |
download | libvirt-python-v6-65ef8171496537b49fcdd0a5b833d61a8ad23351.tar.gz libvirt-python-v6-65ef8171496537b49fcdd0a5b833d61a8ad23351.tar.xz libvirt-python-v6-65ef8171496537b49fcdd0a5b833d61a8ad23351.zip |
python: add virDomainGetCPUStats python binding API
dom.getCPUStats(True, 0)
[{'cpu_time': 24699446159L, 'system_time': 10870000000L, 'user_time': 950000000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 8535292289L}, {'cpu_time': 1005395355L}, {'cpu_time': 9351766377L}, {'cpu_time': 5813545649L}]
*generator.py Add a new naming rule
*libvirt-override-api.xml The API function description
*libvirt-override.c Implement it.
Diffstat (limited to 'libvirt-qemu-override-api.xml')
0 files changed, 0 insertions, 0 deletions