summaryrefslogtreecommitdiff
path: root/fedora/.local/bin/htop-vim/CPUMeter.h
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-21 16:57:44 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-21 16:57:44 +0900
commit5bb312993960adaa663701391a83f76b81edc60a (patch)
tree8838656d0000d24a4c44f5a548b0b36477dbee60 /fedora/.local/bin/htop-vim/CPUMeter.h
parenta861a5fb4c3449abd9d43481c24a90fb91345d75 (diff)
created htop-vim/
Diffstat (limited to 'fedora/.local/bin/htop-vim/CPUMeter.h')
-rw-r--r--fedora/.local/bin/htop-vim/CPUMeter.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/fedora/.local/bin/htop-vim/CPUMeter.h b/fedora/.local/bin/htop-vim/CPUMeter.h
new file mode 100644
index 0000000..7f2ddb1
--- /dev/null
+++ b/fedora/.local/bin/htop-vim/CPUMeter.h
@@ -0,0 +1,53 @@
+#ifndef HEADER_CPUMeter
+#define HEADER_CPUMeter
+/*
+htop - CPUMeter.h
+(C) 2004-2011 Hisham H. Muhammad
+Released under the GNU GPLv2+, see the COPYING file
+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_FREQUENCY = 8,
+ CPU_METER_TEMPERATURE = 9,
+ CPU_METER_ITEMCOUNT = 10, // number of entries in this enum
+} CPUMeterValues;
+
+extern const MeterClass CPUMeter_class;
+
+extern const MeterClass AllCPUsMeter_class;
+
+extern const MeterClass AllCPUs2Meter_class;
+
+extern const MeterClass LeftCPUsMeter_class;
+
+extern const MeterClass RightCPUsMeter_class;
+
+extern const MeterClass LeftCPUs2Meter_class;
+
+extern const MeterClass RightCPUs2Meter_class;
+
+extern const MeterClass AllCPUs4Meter_class;
+
+extern const MeterClass LeftCPUs4Meter_class;
+
+extern const MeterClass RightCPUs4Meter_class;
+
+extern const MeterClass AllCPUs8Meter_class;
+
+extern const MeterClass LeftCPUs8Meter_class;
+
+extern const MeterClass RightCPUs8Meter_class;
+
+#endif