summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-03-21 17:48:02 +0100
committerDaniel Lange <DLange@git.local>2021-03-21 17:48:02 +0100
commit63019065dce4bc14b1f8bf437d7314b30a1c5970 (patch)
treecac76949a12508f6322577f5afad1b3f98d98bbe /ProcessList.h
parent70fecb4984510c8ae77101f5909193c148117dce (diff)
parenta11d01568c5e7bc5570fd48fa0703d837c4bcd84 (diff)
Merge branch 'cpu_proc_stat' of cgzones/htop
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ProcessList.h b/ProcessList.h
index d4fd1f60..bfbe0ab3 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -59,10 +59,10 @@ typedef struct ProcessList_ {
bool topologyOk;
#endif
- int totalTasks;
- int runningTasks;
- int userlandThreads;
- int kernelThreads;
+ unsigned int totalTasks;
+ unsigned int runningTasks;
+ unsigned int userlandThreads;
+ unsigned int kernelThreads;
memory_t totalMem;
memory_t usedMem;
@@ -75,7 +75,7 @@ typedef struct ProcessList_ {
memory_t usedSwap;
memory_t cachedSwap;
- int cpuCount;
+ unsigned int cpuCount;
time_t scanTs;
} ProcessList;

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