Struct libproc::libproc::pid_rusage::RUsageInfoV0
source · #[repr(C)]pub struct RUsageInfoV0 {
pub ri_uuid: [u8; 16],
pub ri_user_time: u64,
pub ri_system_time: u64,
pub ri_pkg_idle_wkups: u64,
pub ri_interrupt_wkups: u64,
pub ri_pageins: u64,
pub ri_wired_size: u64,
pub ri_resident_size: u64,
pub ri_phys_footprint: u64,
pub ri_proc_start_abstime: u64,
pub ri_proc_exit_abstime: u64,
}
Expand description
C struct for Resource Usage Version 0
Fields§
§ri_uuid: [u8; 16]
Unique user id
ri_user_time: u64
User time used
ri_system_time: u64
System time used
ri_pkg_idle_wkups: u64
Wakeups from idle
ri_interrupt_wkups: u64
Interrupt wakeups
ri_pageins: u64
Number of pageins
ri_wired_size: u64
Wired size
ri_resident_size: u64
Resident size
ri_phys_footprint: u64
Physical footprint
ri_proc_start_abstime: u64
Process start time
ri_proc_exit_abstime: u64
Process exit time
Trait Implementations§
source§impl Default for RUsageInfoV0
impl Default for RUsageInfoV0
source§fn default() -> RUsageInfoV0
fn default() -> RUsageInfoV0
Returns the “default value” for a type. Read more
source§impl PIDRUsage for RUsageInfoV0
impl PIDRUsage for RUsageInfoV0
source§fn flavor() -> PidRUsageFlavor
fn flavor() -> PidRUsageFlavor
Return the
PidRUsageFlavor
for the implementing structsource§fn memory_used(&self) -> u64
fn memory_used(&self) -> u64
Memory used in bytes
source§fn set_memory_used(&mut self, used: u64)
fn set_memory_used(&mut self, used: u64)
Memory used in bytes
Auto Trait Implementations§
impl RefUnwindSafe for RUsageInfoV0
impl Send for RUsageInfoV0
impl Sync for RUsageInfoV0
impl Unpin for RUsageInfoV0
impl UnwindSafe for RUsageInfoV0
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more