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 @@ +

Performance monitoring events

+ +

+ 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 nameDescriptionstats parameter name
cmtusage of l3 cache in bytes by applications running on the platformperf.cmt
mbmttotal system bandwidth from one level of cacheperf.mbmt
mbmlbandwidth of memory traffic for a memory controllerperf.mbml
+

Devices

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 @@ cmt + mbmt + mbml