summaryrefslogtreecommitdiffstats
path: root/linux/ZramStats.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/ZramStats.h')
-rw-r--r--linux/ZramStats.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/ZramStats.h b/linux/ZramStats.h
new file mode 100644
index 0000000..67aadcc
--- /dev/null
+++ b/linux/ZramStats.h
@@ -0,0 +1,10 @@
+#ifndef HEADER_ZramStats
+#define HEADER_ZramStats
+
+typedef struct ZramStats_ {
+ memory_t totalZram;
+ memory_t usedZramComp;
+ memory_t usedZramOrig;
+} ZramStats;
+
+#endif