| ... | @@ -3967,22 +3967,6 @@ pub const host_cpu_load_info = extern struct { | ... | @@ -3967,22 +3967,6 @@ pub const host_cpu_load_info = extern struct { |
| 3967 | pub const host_cpu_load_info_data_t = host_cpu_load_info; | 3967 | pub const host_cpu_load_info_data_t = host_cpu_load_info; |
| 3968 | pub const host_cpu_load_info_t = *host_cpu_load_info; | 3968 | pub const host_cpu_load_info_t = *host_cpu_load_info; |
| 3969 | | 3969 | |
| 3970 | pub const host_load_info = extern struct { | | |
| 3971 | avenrun: [3]integer_t, | | |
| 3972 | mach_factor: [3]integer_t, | | |
| 3973 | }; | | |
| 3974 | | | |
| 3975 | pub const host_load_info_data_t = host_load_info; | | |
| 3976 | pub const host_load_info_t = *host_load_info; | | |
| 3977 | | | |
| 3978 | pub const host_preferred_user_arch = extern struct { | | |
| 3979 | cpu_type: cpu_type_t, | | |
| 3980 | cpu_subtype: cpu_subtype_t, | | |
| 3981 | }; | | |
| 3982 | | | |
| 3983 | pub const host_preferred_user_arch_data_t = host_preferred_user_arch; | | |
| 3984 | pub const host_preferred_user_arch_t = *host_preferred_user_arch; | | |
| 3985 | | | |
| 3986 | pub const HOST = struct { | 3970 | pub const HOST = struct { |
| 3987 | pub const BASIC_INFO = 1; | 3971 | pub const BASIC_INFO = 1; |
| 3988 | pub const SCHED_INFO = 3; | 3972 | pub const SCHED_INFO = 3; |
| ... | @@ -3999,8 +3983,6 @@ pub const HOST = struct { | ... | @@ -3999,8 +3983,6 @@ pub const HOST = struct { |
| 3999 | pub const RESOURCES_SIZES_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(kernel_resource_sizes_data_t) / @sizeOf(integer_t)); | 3983 | pub const RESOURCES_SIZES_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(kernel_resource_sizes_data_t) / @sizeOf(integer_t)); |
| 4000 | pub const PRIORITY_INFO_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(host_priority_info_data_t) / @sizeOf(integer_t)); | 3984 | pub const PRIORITY_INFO_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(host_priority_info_data_t) / @sizeOf(integer_t)); |
| 4001 | pub const CPU_LOAD_INFO_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(host_cpu_load_info_data_t) / @sizeOf(integer_t)); | 3985 | pub const CPU_LOAD_INFO_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(host_cpu_load_info_data_t) / @sizeOf(integer_t)); |
| 4002 | pub const LOAD_INFO_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(host_load_info_data_t) / @sizeOf(integer_t)); | | |
| 4003 | pub const PREFERRED_USER_ARCH_COUNT = @intCast(mach_msg_type_number_t, @sizeOf(host_preferred_user_arch_data_t) / @sizeOf(integer_t)); | | |
| 4004 | }; | 3986 | }; |
| 4005 | | 3987 | |
| 4006 | pub const host_basic_info = packed struct(u32) { | 3988 | pub const host_basic_info = packed struct(u32) { |