[−][src]Struct heim::process::Memory
Memory information about the process.
See os-specific extensions also.
Implementations
impl Memory
[src]
pub fn rss(
&self
) -> Quantity<dyn Dimension<M = Z0, T = Z0, Kind = dyn InformationKind + 'static, J = Z0, I = Z0, N = Z0, L = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, electric_current = ampere, time = second, mass = kilogram, length = meter, amount_of_substance = mole, thermodynamic_temperature = kelvin> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<M = Z0, T = Z0, Kind = dyn InformationKind + 'static, J = Z0, I = Z0, N = Z0, L = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, electric_current = ampere, time = second, mass = kilogram, length = meter, amount_of_substance = mole, thermodynamic_temperature = kelvin> + 'static, u64>
Returns resident set size, amount of non-swapped physical memory used by the process.
pub fn vms(
&self
) -> Quantity<dyn Dimension<M = Z0, T = Z0, Kind = dyn InformationKind + 'static, J = Z0, I = Z0, N = Z0, L = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, electric_current = ampere, time = second, mass = kilogram, length = meter, amount_of_substance = mole, thermodynamic_temperature = kelvin> + 'static, u64>
[src]
&self
) -> Quantity<dyn Dimension<M = Z0, T = Z0, Kind = dyn InformationKind + 'static, J = Z0, I = Z0, N = Z0, L = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, electric_current = ampere, time = second, mass = kilogram, length = meter, amount_of_substance = mole, thermodynamic_temperature = kelvin> + 'static, u64>
Returns virtual memory size, total amount of memory used by the process.
Trait Implementations
impl Debug for Memory
[src]
impl MemoryExt for Memory
[src]
pub fn page_faults(&self) -> u32
[src]
pub fn peak_working_set_size(&self) -> usize
[src]
pub fn working_set_size(&self) -> usize
[src]
pub fn quota_peak_paged_pool_usage(&self) -> usize
[src]
pub fn quota_paged_pool_usage(&self) -> usize
[src]
pub fn quota_peak_non_paged_pool_usage(&self) -> usize
[src]
pub fn quota_non_paged_pool_usage(&self) -> usize
[src]
pub fn pagefile_usage(&self) -> usize
[src]
pub fn peak_pagefile_usage(&self) -> usize
[src]
pub fn private_usage(&self) -> usize
[src]
Auto Trait Implementations
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnwindSafe for Memory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,