summaryrefslogtreecommitdiffstats
path: root/linux/ZramMeter.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-04-03 20:30:20 +0200
committerBenBE <BenBE@geshi.org>2023-04-11 23:09:10 +0200
commit467bb78bb1cedc1709216ef38424ecb3928263ea (patch)
treed2e6f731a8ed0b9560fe8664b1c8e4d9820fefe6 /linux/ZramMeter.h
parentccf745ee7ea017230827ad0c5332d1e14fa3ee10 (diff)
ZramMeter: update bar mode
Show both compressed and uncompressed bars. Closes: #1216
Diffstat (limited to 'linux/ZramMeter.h')
-rw-r--r--linux/ZramMeter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/ZramMeter.h b/linux/ZramMeter.h
index ddba1bae..db27d0b3 100644
--- a/linux/ZramMeter.h
+++ b/linux/ZramMeter.h
@@ -3,6 +3,11 @@
#include "Meter.h"
+typedef enum {
+ ZRAM_METER_COMPRESSED = 0,
+ ZRAM_METER_UNCOMPRESSED = 1,
+ ZRAM_METER_ITEMCOUNT = 2, // number of entries in this enum
+} ZramMeterValues;
extern const MeterClass ZramMeter_class;