[][src]Struct darwin_libproc::proc_taskinfo

#[repr(C)]
pub struct proc_taskinfo {
    pub pti_virtual_size: u64,
    pub pti_resident_size: u64,
    pub pti_total_user: u64,
    pub pti_total_system: u64,
    pub pti_threads_user: u64,
    pub pti_threads_system: u64,
    pub pti_policy: i32,
    pub pti_faults: i32,
    pub pti_pageins: i32,
    pub pti_cow_faults: i32,
    pub pti_messages_sent: i32,
    pub pti_messages_received: i32,
    pub pti_syscalls_mach: i32,
    pub pti_syscalls_unix: i32,
    pub pti_csw: i32,
    pub pti_threadnum: i32,
    pub pti_numrunning: i32,
    pub pti_priority: i32,
}

Fields

pti_virtual_size: u64

virtual memory size (bytes)

pti_resident_size: u64

resident memory size (bytes)

pti_total_user: u64

total time

pti_total_system: u64pti_threads_user: u64

existing threads only

pti_threads_system: u64pti_policy: i32

default policy for new threads

pti_faults: i32

number of page faults

pti_pageins: i32

number of actual pageins

pti_cow_faults: i32

number of copy-on-write faults

pti_messages_sent: i32

number of messages sent

pti_messages_received: i32

number of messages received

pti_syscalls_mach: i32

number of mach system calls

pti_syscalls_unix: i32

number of unix system calls

pti_csw: i32

number of context switches

pti_threadnum: i32

number of threads in the task

pti_numrunning: i32

number of running threads

pti_priority: i32

task priority

Trait Implementations

impl Clone for proc_taskinfo[src]

impl Copy for proc_taskinfo[src]

impl Debug for proc_taskinfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.