summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessList.h
diff options
context:
space:
mode:
authorDavid Hunt <dhunt@iolanthe.attlocal.net>2015-07-13 16:53:46 -0500
committerHisham Muhammad <hisham@gobolinux.org>2015-08-19 13:52:04 -0300
commit7f3faa276a33af78e419f66024679279fbb1f72d (patch)
tree890389752d2e3416562a667f19ea0606c2fbac13 /darwin/DarwinProcessList.h
parent43ef703f034be4e347ab94250101cd8f23409952 (diff)
Static CPU meter
Diffstat (limited to 'darwin/DarwinProcessList.h')
-rw-r--r--darwin/DarwinProcessList.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/darwin/DarwinProcessList.h b/darwin/DarwinProcessList.h
index 6a4bb094..065e8fbf 100644
--- a/darwin/DarwinProcessList.h
+++ b/darwin/DarwinProcessList.h
@@ -15,17 +15,14 @@ in the source distribution for its full text.
typedef struct DarwinProcessList_ {
ProcessList super;
- host_basic_info_data_t prev_hinfo;
- vm_statistics64_data_t prev_vminfo;
- processor_info_data_t prev_cpus;
+ host_basic_info_data_t host_info;
+ processor_cpu_load_info_t cpu_load;
} DarwinProcessList;
void ProcessList_getHostInfo(host_basic_info_data_t *p);
-void ProcessList_getVMInfo(vm_statistics64_data_t *p);
-
-unsigned ProcessList_getCPUInfo(processor_info_data_t *p);
+unsigned ProcessList_updateCPULoadInfo(processor_cpu_load_info_t *p);
struct kinfo_proc *ProcessList_getKInfoProcs(size_t *count);

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