summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-16 23:01:48 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-16 23:02:03 -0300
commit272e2d9b3459ceb3fe2f5ae34a07e44df6c45997 (patch)
treeb7a7c2c68c3ebbe3b91f23a86da73ac352910cf5 /ProcessList.h
parent9ff5d2b243472ae73d10dafdd7c0e24dc5052f6d (diff)
Major advances in FreeBSD port.
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ProcessList.h b/ProcessList.h
index ba6f337d..9465e82e 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -43,6 +43,11 @@ typedef struct ProcessList_ {
bool topologyOk;
#endif
+ int totalTasks;
+ int runningTasks;
+ int userlandThreads;
+ int kernelThreads;
+
unsigned long long int totalMem;
unsigned long long int usedMem;
unsigned long long int freeMem;
@@ -59,7 +64,7 @@ typedef struct ProcessList_ {
ProcessList* ProcessList_new(UsersTable* ut, Hashtable* pidWhiteList, uid_t userId);
void ProcessList_delete(ProcessList* pl);
-void ProcessList_scan(ProcessList* pl);
+void ProcessList_goThroughEntries(ProcessList* pl);
ProcessList* ProcessList_init(ProcessList* this, UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
@@ -86,5 +91,8 @@ void ProcessList_expandTree(ProcessList* this);
void ProcessList_rebuildPanel(ProcessList* this);
+Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting, Process_new_fn constructor);
+
+void ProcessList_scan(ProcessList* this);
#endif

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