[−][src]Trait heim::cpu::os::linux::CpuTimeExt
Linux-specific extension for CpuTime.
Required methods
fn nice(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
Returns time spent by niced (prioritized) processes executing in user mode, this also includes guest_nice time.
fn io_wait(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
Returns time spent waiting for I/O to complete.
fn irq(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
Returns time spent for servicing hardware interrupts.
fn soft_irq(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
Returns time spent for servicing software interrupts.
fn steal(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
Returns time spent by other operating systems running in a virtualized environment.
fn guest(
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
Returns time spent running a virtual CPU for guest operating systems under the control of the Linux kernel.
Compatibility
Available for Linux 2.6.24+, older versions always returns None
.
fn guest_nice(
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
Returns time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel)
Compatibility
Available for Linux 3.2.0+, older versions always returns None
.
Implementors
impl CpuTimeExt for CpuTime
[src]
fn nice(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
[src]
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
fn io_wait(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
[src]
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
fn irq(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
[src]
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
fn soft_irq(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
[src]
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
fn steal(
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
[src]
&self
) -> Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>
fn guest(
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
[src]
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
fn guest_nice(
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>
[src]
&self
) -> Option<Quantity<dyn Dimension<T = PInt<UInt<UTerm, B1>>, N = Z0, I = Z0, L = Z0, J = Z0, Th = Z0, Kind = dyn Kind + 'static, M = Z0> + 'static, dyn Units<f64, luminous_intensity = candela, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, time = second> + 'static, f64>>