diff options
author | Nathan Scott <nathans@redhat.com> | 2021-08-13 15:56:01 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-08-13 15:56:01 +1000 |
commit | f839095e3b29668d080c89f3b32fb6dccff54030 (patch) | |
tree | 7ef2d9359dea6e171c882f5b6ec5620eb4555396 /pcp/PCPProcess.h | |
parent | 6974ce8e7982d061f26dbbe7c5ca48d7aa6f4dbc (diff) | |
parent | 6f2021f3d95e02fc54e59fdeeb006e34c209b9c3 (diff) |
Merge branch 'dynamic-columns' of https://github.com/smalinux/htop into smalinux-dynamic-columns
Diffstat (limited to 'pcp/PCPProcess.h')
-rw-r--r-- | pcp/PCPProcess.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pcp/PCPProcess.h b/pcp/PCPProcess.h index 2d1a8b6c..3593255b 100644 --- a/pcp/PCPProcess.h +++ b/pcp/PCPProcess.h @@ -12,13 +12,13 @@ in the source distribution for its full text. #include "config.h" // IWYU pragma: keep #include <stdbool.h> -#include <sys/types.h> #include "Object.h" #include "Process.h" -#include "RichString.h" #include "Settings.h" +#include "pcp/Platform.h" + #define PROCESS_FLAG_LINUX_CGROUP 0x00000800 #define PROCESS_FLAG_LINUX_OOM 0x00001000 @@ -29,6 +29,10 @@ in the source distribution for its full text. typedef struct PCPProcess_ { Process super; + + /* default result offset to use for searching proc metrics */ + unsigned int offset; + unsigned long int cminflt; unsigned long int cmajflt; unsigned long long int utime; |