commit 90fb791e94b300b808059dd17b0552e272ae78c8 Author: W. David Ashley w.david.ashley@gmail.com Date: Fri Jul 10 10:47:37 2015 -0500
Domains chapter - corrected vergage for the getCPUStats section.
en-US/Guest_Domains.xml | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) --- diff --git a/en-US/Guest_Domains.xml b/en-US/Guest_Domains.xml index c420958..60ca737 100644 --- a/en-US/Guest_Domains.xml +++ b/en-US/Guest_Domains.xml @@ -915,9 +915,11 @@ <programlisting language="Python"><xi:include href="extras/Domains-Example-33.py" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting> </example> <para> - This way, each CPU reports its usage for the domain (in - nanoseconds). If a host has four CPUs, there will be - four entries in the cpu_stats array. + The <literal>getCPUStats</literal> takes one parameter, a boolean. When <literal>False</literal> + is used the statistics are reported as an aggregate of all the CPUs. Then <literal>True</literal> + is used then each CPU reports its individual statistics. Either way a <literal>list</literal> + is returned. The statistics are reported innanoseconds. If a host has four CPUs, there will be + four entries in the cpu_stats list. </para> <para> <literal>getCPUStats(True)</literal> aggregates the statistics for all
docs-commits@lists.fedoraproject.org