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
1890
1890
glob
1891
1891
glob_t
1892
1892
globfree
1893
+ host_cpu_load_info
1894
+ host_cpu_load_info_data_t
1895
+ host_cpu_load_info_t
1893
1896
icmp6_ifstat
1894
1897
iconv_t
1895
1898
id_t
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ pub type ledger_array_t = *mut ::ledger_t;
74
74
75
75
pub type iconv_t = * mut :: c_void ;
76
76
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
77
82
pub type processor_cpu_load_info_t = * mut processor_cpu_load_info ;
78
83
pub type processor_cpu_load_info_data_t = processor_cpu_load_info ;
79
84
pub type processor_basic_info_t = * mut processor_basic_info ;
@@ -1208,6 +1213,11 @@ s! {
1208
1213
pub ifs6_out_mldreport: :: u_quad_t,
1209
1214
pub ifs6_out_mlddone: :: u_quad_t,
1210
1215
}
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
+ }
1211
1221
}
1212
1222
1213
1223
s_no_extra_traits ! {
You can’t perform that action at this time.
0 commit comments