diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 7a42b8e005..7d3436304b 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1822,6 +1822,50 @@ +
+ Some platforms allow monitoring of performance of the virtual machine and
+ the code executed inside. To enable the performance monitoring events
+ you can either specify them in the perf
element or enable
+ them via virDomainSetPerfEvents
API. The performance values
+ are then retrieved using the virConnectGetAllDomainStats API.
+ Since 2.0.0
+
+ ... + <perf> + <event name='cmt' enabled='yes'/> + <event name='mbmt' enabled='no'/> + <event name='mbml' enabled='yes'/> + </perf> + ... ++ +
event name | +Description | +stats parameter name | +
---|---|---|
cmt |
+ usage of l3 cache in bytes by applications running on the platform | +perf.cmt |
+
mbmt |
+ total system bandwidth from one level of cache | +perf.mbmt |
+
mbml |
+ bandwidth of memory traffic for a memory controller | +perf.mbml |
+
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 2e07505b1a..162c2e0164 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -412,6 +412,8 @@