summaryrefslogtreecommitdiffstats
path: root/linux/ZramStats.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linux/ZramStats.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/linux/ZramStats.h b/linux/ZramStats.h
new file mode 100644
index 0000000..f71a6c2
--- /dev/null
+++ b/linux/ZramStats.h
@@ -0,0 +1,18 @@
+#ifndef HEADER_ZramStats
+#define HEADER_ZramStats
+/*
+htop - ZramStats.h
+(C) 2020 htop dev team
+Released under the GNU GPLv2+, see the COPYING file
+in the source distribution for its full text.
+*/
+
+#include "ProcessTable.h"
+
+typedef struct ZramStats_ {
+ memory_t totalZram;
+ memory_t usedZramComp;
+ memory_t usedZramOrig;
+} ZramStats;
+
+#endif