diff options
author | Michael Klein <michael.klein@puffin.lb.shuttle.de> | 2016-01-13 20:57:29 +0100 |
---|---|---|
committer | Michael Klein <michael.klein@puffin.lb.shuttle.de> | 2016-01-13 20:57:29 +0100 |
commit | d3125102234537f63832f194466578bd4ca6d371 (patch) | |
tree | 780b36554211020d468fce6c92c3c53d51776e93 /darwin/Platform.c | |
parent | 9c39422c716581a9cbdcd15eb9ad616c6bf6e746 (diff) |
Darwin: replace vm_statistics64_* with vm_statistics_*
Works with:
- Darwin 9.8.0 (OS X 10.5.8) PPC
- Darwin 15.2.0 (OS X 10.11.2) Intel
Diffstat (limited to 'darwin/Platform.c')
-rw-r--r-- | darwin/Platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c index c025509f..80899064 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -218,7 +218,7 @@ double Platform_setCPUValues(Meter* mtr, int cpu) { void Platform_setMemoryValues(Meter* mtr) { DarwinProcessList *dpl = (DarwinProcessList *)mtr->pl; - vm_statistics64_t vm = &dpl->vm_stats; + vm_statistics_t vm = &dpl->vm_stats; double page_K = (double)vm_page_size / (double)1024; mtr->total = dpl->host_info.max_mem / 1024; |