diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-16 03:13:42 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-16 03:14:20 -0300 |
commit | adbfe3c3f171af332322d61f2a4912f36b57edda (patch) | |
tree | 6ac08e0b6c2b8b4d3d2582a0700164159034122d /freebsd/FreeBSDProcessList.h | |
parent | 40f3391a3c5d391c096aa3d4c0a61cbf79c37060 (diff) |
Get FreeBSD tree to compile again with latest changes.
Diffstat (limited to 'freebsd/FreeBSDProcessList.h')
-rw-r--r-- | freebsd/FreeBSDProcessList.h | 10 |
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); |