extern structstd.c.darwin.mach_task_basic_info[src]

Fields

virtual_size: mach_vm_size_t

Virtual memory size (bytes)

resident_size: mach_vm_size_t

Resident memory size (bytes)

user_time: time_value_t

Total user run time for terminated threads

system_time: time_value_t

Total system run time for terminated threads

policy: policy_t

Default policy for new threads

suspend_count: mach_vm_size_t

Suspend count for task

Source Code

Source code
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,
}