ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
36 lines
708 B
C
36 lines
708 B
C
#ifndef HEADER_DarwinMachine
|
|
#define HEADER_DarwinMachine
|
|
/*
|
|
htop - DarwinMachine.h
|
|
(C) 2014 Hisham H. Muhammad
|
|
Released under the GNU GPLv2+, see the COPYING file
|
|
in the source distribution for its full text.
|
|
*/
|
|
|
|
#include <IOKit/IOKitLib.h>
|
|
#include <mach/mach_host.h>
|
|
#include <sys/sysctl.h>
|
|
|
|
#include "Machine.h"
|
|
#include "zfs/ZfsArcStats.h"
|
|
|
|
|
|
typedef struct DarwinMachine_ {
|
|
Machine super;
|
|
|
|
host_basic_info_data_t host_info;
|
|
#ifdef HAVE_STRUCT_VM_STATISTICS64
|
|
vm_statistics64_data_t vm_stats;
|
|
#else
|
|
vm_statistics_data_t vm_stats;
|
|
#endif
|
|
processor_cpu_load_info_t prev_load;
|
|
processor_cpu_load_info_t curr_load;
|
|
|
|
io_service_t GPUService;
|
|
|
|
ZfsArcStats zfs;
|
|
} DarwinMachine;
|
|
|
|
#endif
|