You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the mach crate currently does not implement the task_info function required to read per-thread CPU and memory information. Until that's updated this module will not be able to handle StatType::Thread on OS X/Darwin. For processes and children POSIX calls seem to work, but for threads Darwin requires using the mach kernel interface.
It looks like the mach crate currently does not implement the
task_info
function required to read per-thread CPU and memory information. Until that's updated this module will not be able to handleStatType::Thread
on OS X/Darwin. For processes and children POSIX calls seem to work, but for threads Darwin requires using the mach kernel interface.More info:
TODO:
TASK_BASIC_INFO_COUNT
,TASK_EVENTS_INFO_COUNT
, andTASK_THREAD_TIMES_INFO_COUNT
.task_basic_info
,task_basic_info_t
,task_events_info
,task_events_info_t
,task_thread_times_info
,task_thread_times_info_t
,time_value
,time_value_t
.task_info
:pub fn task_info(target_task: task_t, flavor: c_int, task_info: *mut task_info_t, task_info_count: *mut mach_msg_type_number_t) -> kern_return_t;
The text was updated successfully, but these errors were encountered: