summaryrefslogtreecommitdiffstats
path: root/freebsd/FreeBSDProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-16 03:13:42 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-16 03:14:20 -0300
commitadbfe3c3f171af332322d61f2a4912f36b57edda (patch)
tree6ac08e0b6c2b8b4d3d2582a0700164159034122d /freebsd/FreeBSDProcessList.h
parent40f3391a3c5d391c096aa3d4c0a61cbf79c37060 (diff)
Get FreeBSD tree to compile again with latest changes.
Diffstat (limited to 'freebsd/FreeBSDProcessList.h')
-rw-r--r--freebsd/FreeBSDProcessList.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/freebsd/FreeBSDProcessList.h b/freebsd/FreeBSDProcessList.h
index 11a5dde7..5127175b 100644
--- a/freebsd/FreeBSDProcessList.h
+++ b/freebsd/FreeBSDProcessList.h
@@ -12,13 +12,21 @@ in the source distribution for its full text.
#include <kvm.h>
+typedef struct CPUData_ {
+ unsigned long long int totalTime;
+ unsigned long long int totalPeriod;
+} CPUData;
+
typedef struct FreeBSDProcessList_ {
ProcessList super;
kvm_t* kd;
+
+ CPUData* cpus;
+
} FreeBSDProcessList;
-ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList);
+ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
void ProcessList_delete(ProcessList* this);

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