summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-06-12 22:04:37 +0200
committerBenny Baumann <BenBE@geshi.org>2021-07-18 07:47:09 +0200
commit11d2206f40dd1680923ccae6e421a494c2af0992 (patch)
tree76513a64006184ee1bfc59ce9fa4aab1b0a2fc43 /ProcessList.h
parent41af31be7ffbd34518b27aad56a4f54af6a8adf3 (diff)
Add ProcessList_isCPUonline
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 2b9a5070..93958cbb 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -87,9 +87,11 @@ typedef struct ProcessList_ {
unsigned int existingCPUs;
} ProcessList;
+/* Implemented by platforms */
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* dynamicMeters, Hashtable* pidMatchList, uid_t userId);
void ProcessList_delete(ProcessList* pl);
void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate);
+bool ProcessList_isCPUonline(const ProcessList* super, unsigned int id);
ProcessList* ProcessList_init(ProcessList* this, const ObjectClass* klass, UsersTable* usersTable, Hashtable* dynamicMeters, Hashtable* pidMatchList, uid_t userId);

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