From e967d582f973a4f37db1526f5e455ea643294740 Mon Sep 17 00:00:00 2001 From: Guannan Ren Date: Tue, 27 Mar 2012 14:06:47 +0800 Subject: python: make python APIs use these helper functions *setPyVirTypedParameter *libvirt_virDomainGetCPUStats --- libvirt-override-api.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvirt-override-api.xml') diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml index 06986ec..0bafd21 100644 --- a/libvirt-override-api.xml +++ b/libvirt-override-api.xml @@ -151,11 +151,11 @@ Extracts CPU statistics for a running domain. On success it will - return a list of data of dictionary type. If boolean total is False, the + return a list of data of dictionary type. If boolean total is False or 0, the first element of the list refers to CPU0 on the host, second element is CPU1, and so on. The format of data struct is as follows: [{cpu_time:xxx}, {cpu_time:xxx}, ...] - If it is True, it returns total domain CPU statistics in the format of + If it is True or 1, it returns total domain CPU statistics in the format of [{cpu_time:xxx, user_time:xxx, system_time:xxx}] -- cgit