pub struct CpuThrottlingStats {
pub periods: u64,
pub throttled_periods: u64,
pub throttled_time: u64,
}Fields§
§periods: u64Periods, read from cpu.stat from the line starting with
nr_periods. Set 0 if no data.
throttled_periods: u64Throttled periods, read from cpu.stat from the line starting with
nr_throttled. Set 0 if no data.
throttled_time: u64Throttled time, read from cpu.stat from the line starting with
throttled_time. Set 0 if no data.
Trait Implementations§
Source§impl Debug for CpuThrottlingStats
impl Debug for CpuThrottlingStats
Source§impl Default for CpuThrottlingStats
impl Default for CpuThrottlingStats
Source§fn default() -> CpuThrottlingStats
fn default() -> CpuThrottlingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CpuThrottlingStats
impl RefUnwindSafe for CpuThrottlingStats
impl Send for CpuThrottlingStats
impl Sync for CpuThrottlingStats
impl Unpin for CpuThrottlingStats
impl UnwindSafe for CpuThrottlingStats
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