summaryrefslogtreecommitdiffstats
path: root/SwapMeter.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-09-08 04:41:03 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-09-08 04:41:03 +0000
commitbb3e773c4958e76005915e3fd0c4b3a3c51ed941 (patch)
treed690a197e3c763b92fe7bfb89064436104bbf370 /SwapMeter.h
parentb288eb88c07bfc0eaca5a2e30f0063e4dc039237 (diff)
Interface improvements for large numbers.
Diffstat (limited to 'SwapMeter.h')
-rw-r--r--SwapMeter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/SwapMeter.h b/SwapMeter.h
index f243a5bd..6bdd130b 100644
--- a/SwapMeter.h
+++ b/SwapMeter.h
@@ -22,8 +22,13 @@ in the source distribution for its full text.
#include "debug.h"
#include <assert.h>
+#define KILOBYTE 1
+#define MEGABYTE 1024
+#define GIGABYTE 1048576
+
extern int SwapMeter_attributes[];
+/* NOTE: Value is in kilobytes */
extern MeterType SwapMeter;
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy