[][src]Trait heim::process::os::linux::MemoryExt

pub trait MemoryExt {
    fn shared(
        &self
    ) -> Quantity<dyn Dimension<N = Z0, J = Z0, L = Z0, I = Z0, Kind = dyn InformationKind + 'static, M = Z0, T = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, mass = kilogram, amount_of_substance = mole, length = meter, thermodynamic_temperature = kelvin, electric_current = ampere, time = second> + 'static, u64>;
fn text(
        &self
    ) -> Quantity<dyn Dimension<N = Z0, J = Z0, L = Z0, I = Z0, Kind = dyn InformationKind + 'static, M = Z0, T = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, mass = kilogram, amount_of_substance = mole, length = meter, thermodynamic_temperature = kelvin, electric_current = ampere, time = second> + 'static, u64>;
fn data(
        &self
    ) -> Quantity<dyn Dimension<N = Z0, J = Z0, L = Z0, I = Z0, Kind = dyn InformationKind + 'static, M = Z0, T = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, mass = kilogram, amount_of_substance = mole, length = meter, thermodynamic_temperature = kelvin, electric_current = ampere, time = second> + 'static, u64>; }

Linux-specific extension to process Memory information.

Required methods

fn shared(
    &self
) -> Quantity<dyn Dimension<N = Z0, J = Z0, L = Z0, I = Z0, Kind = dyn InformationKind + 'static, M = Z0, T = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, mass = kilogram, amount_of_substance = mole, length = meter, thermodynamic_temperature = kelvin, electric_current = ampere, time = second> + 'static, u64>

Returns the amount of memory that could be potentially shared with other processes.

fn text(
    &self
) -> Quantity<dyn Dimension<N = Z0, J = Z0, L = Z0, I = Z0, Kind = dyn InformationKind + 'static, M = Z0, T = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, mass = kilogram, amount_of_substance = mole, length = meter, thermodynamic_temperature = kelvin, electric_current = ampere, time = second> + 'static, u64>

Returns TRS (text resident set) - the amount of memory devoted to executable code.

fn data(
    &self
) -> Quantity<dyn Dimension<N = Z0, J = Z0, L = Z0, I = Z0, Kind = dyn InformationKind + 'static, M = Z0, T = Z0, Th = Z0> + 'static, dyn Units<u64, luminous_intensity = candela, mass = kilogram, amount_of_substance = mole, length = meter, thermodynamic_temperature = kelvin, electric_current = ampere, time = second> + 'static, u64>

Returns DRS (data resident set) - the amount of physical memory devoted to other than executable code.

Loading content...

Implementors

impl MemoryExt for Memory[src]

Loading content...