DarwinMachine.h 567 B

12345678910111213141516171819202122232425262728
  1. #ifndef HEADER_DarwinMachine
  2. #define HEADER_DarwinMachine
  3. /*
  4. htop - DarwinMachine.h
  5. (C) 2014 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include <mach/mach_host.h>
  10. #include <sys/sysctl.h>
  11. #include "Machine.h"
  12. #include "zfs/ZfsArcStats.h"
  13. typedef struct DarwinMachine_ {
  14. Machine super;
  15. host_basic_info_data_t host_info;
  16. vm_statistics_data_t vm_stats;
  17. processor_cpu_load_info_t prev_load;
  18. processor_cpu_load_info_t curr_load;
  19. ZfsArcStats zfs;
  20. } DarwinMachine;
  21. #endif