summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcessList.h
diff options
context:
space:
mode:
authorDavid Zarzycki <dave@znu.io>2021-01-14 09:46:37 -0500
committercgzones <cgzones@googlemail.com>2021-01-19 18:06:48 +0100
commit03824da684731557ecf2e809ade6310277744a7e (patch)
tree6c786b93893835b8f1a0bb886cd301011b6cbc38 /linux/LinuxProcessList.h
parent4d85848988d8d4e7b2dc64e6600b099171e5b803 (diff)
Linux: individual huge page values in the huge page meter
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r--linux/LinuxProcessList.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h
index b34810bb..d65119e8 100644
--- a/linux/LinuxProcessList.h
+++ b/linux/LinuxProcessList.h
@@ -18,6 +18,8 @@ in the source distribution for its full text.
#include "ZramStats.h"
#include "zfs/ZfsArcStats.h"
+#define HTOP_HUGEPAGE_BASE_SHIFT 16
+#define HTOP_HUGEPAGE_COUNT 24
typedef struct CPUData_ {
unsigned long long int totalTime;
@@ -73,7 +75,7 @@ typedef struct LinuxProcessList_ {
#endif
unsigned long long int totalHugePageMem;
- unsigned long long int freeHugePageMem;
+ unsigned long long int usedHugePageMem[HTOP_HUGEPAGE_COUNT];
ZfsArcStats zfs;
ZramStats zram;

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