extern struct mach_task_basic_info [src]
Alias for std.c.darwin.mach_task_basic_info
Fields
virtual_size: mach_vm_size_tVirtual memory size (bytes)
resident_size: mach_vm_size_tResident memory size (bytes)
user_time: time_value_tTotal user run time for terminated threads
system_time: time_value_tTotal system run time for terminated threads
policy: policy_tDefault policy for new threads
suspend_count: mach_vm_size_tSuspend count for task
Source
pub const mach_task_basic_info = extern struct {
/// Virtual memory size (bytes)
virtual_size: mach_vm_size_t,
/// Resident memory size (bytes)
resident_size: mach_vm_size_t,
/// Total user run time for terminated threads
user_time: time_value_t,
/// Total system run time for terminated threads
system_time: time_value_t,
/// Default policy for new threads
policy: policy_t,
/// Suspend count for task
suspend_count: mach_vm_size_t,
}