File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1890,6 +1890,9 @@ getxattr
18901890glob
18911891glob_t
18921892globfree
1893+ host_cpu_load_info
1894+ host_cpu_load_info_data_t
1895+ host_cpu_load_info_t
18931896icmp6_ifstat
18941897iconv_t
18951898id_t
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ pub type ledger_array_t = *mut ::ledger_t;
7474
7575pub type iconv_t = * mut :: c_void ;
7676
77+ // mach/host_info.h
78+ pub type host_cpu_load_info_t = * mut host_cpu_load_info ;
79+ pub type host_cpu_load_info_data_t = host_cpu_load_info ;
80+
81+ // mach/processor_info.h
7782pub type processor_cpu_load_info_t = * mut processor_cpu_load_info ;
7883pub type processor_cpu_load_info_data_t = processor_cpu_load_info ;
7984pub type processor_basic_info_t = * mut processor_basic_info ;
@@ -1208,6 +1213,11 @@ s! {
12081213 pub ifs6_out_mldreport: :: u_quad_t,
12091214 pub ifs6_out_mlddone: :: u_quad_t,
12101215 }
1216+
1217+ // mach/host_info.h
1218+ pub struct host_cpu_load_info {
1219+ pub cpu_ticks: [ :: natural_t; CPU_STATE_MAX as usize ] ,
1220+ }
12111221}
12121222
12131223s_no_extra_traits ! {
You can’t perform that action at this time.
0 commit comments