]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Add some comment details for virPerfEventType
authorQiaowei Ren <qiaowei.ren@intel.com>
Tue, 2 Aug 2016 18:43:35 +0000 (14:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 2 Sep 2016 21:00:58 +0000 (17:00 -0400)
Add to some details for the existing enum

src/util/virperf.h

index 716341019be1cf12a3d15da24e6125122ab72052..bdafe03bd5aeaed0ef561788068e058e49577931 100644 (file)
 
 # include "virutil.h"
 
+/* Some Intel processor families introduced some RDT (Resource Director
+ * Technology) features to monitor or control shared resource based on
+ * the perf framework in the linux kernel. */
 typedef enum {
-    VIR_PERF_EVENT_CMT,
-    VIR_PERF_EVENT_MBMT,
-    VIR_PERF_EVENT_MBML,
+    VIR_PERF_EVENT_CMT,    /* Cache Monitoring Technology */
+    VIR_PERF_EVENT_MBMT,   /* Memory Bandwidth Monitoring Total */
+    VIR_PERF_EVENT_MBML,   /* Memory Bandwidth Monitor Limit for controller */
 
     VIR_PERF_EVENT_LAST
 } virPerfEventType;