summaryrefslogtreecommitdiffstats
path: root/CPUMeter.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPUMeter.h')
-rw-r--r--CPUMeter.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/CPUMeter.h b/CPUMeter.h
index f91c7597..2f163968 100644
--- a/CPUMeter.h
+++ b/CPUMeter.h
@@ -11,6 +11,19 @@ in the source distribution for its full text.
#include "Meter.h"
+typedef enum {
+ CPU_METER_NICE = 0,
+ CPU_METER_NORMAL = 1,
+ CPU_METER_KERNEL = 2,
+ CPU_METER_IRQ = 3,
+ CPU_METER_SOFTIRQ = 4,
+ CPU_METER_STEAL = 5,
+ CPU_METER_GUEST = 6,
+ CPU_METER_IOWAIT = 7,
+ CPU_METER_ITEMCOUNT = 8, // number of entries in this enum
+} CPUMeterValues;
+
+
extern int CPUMeter_attributes[];
#ifndef MIN