diff options
author | David Zarzycki <dave@znu.io> | 2021-01-14 09:46:37 -0500 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-01-19 18:06:48 +0100 |
commit | 03824da684731557ecf2e809ade6310277744a7e (patch) | |
tree | 6c786b93893835b8f1a0bb886cd301011b6cbc38 /linux/LinuxProcessList.h | |
parent | 4d85848988d8d4e7b2dc64e6600b099171e5b803 (diff) |
Linux: individual huge page values in the huge page meter
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r-- | linux/LinuxProcessList.h | 4 |
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; |