pub struct CpuBandwidthStats {
pub nr_throttled: u64,
pub throttled_time_ns: u64,
pub nr_periods: u64,
pub nr_bursts: u64,
pub burst_time_ns: u64,
}Expand description
CPU bandwidth statistics.
Fields§
§nr_throttled: u64Number of times throttled.
throttled_time_ns: u64Total throttled time in nanoseconds.
nr_periods: u64Number of scheduling periods elapsed.
nr_bursts: u64Burst time accumulated in nanoseconds.
burst_time_ns: u64Total burst time used in nanoseconds.
Trait Implementations§
Source§impl Clone for CpuBandwidthStats
impl Clone for CpuBandwidthStats
Source§fn clone(&self) -> CpuBandwidthStats
fn clone(&self) -> CpuBandwidthStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CpuBandwidthStats
impl Debug for CpuBandwidthStats
Source§impl Default for CpuBandwidthStats
impl Default for CpuBandwidthStats
Source§fn default() -> CpuBandwidthStats
fn default() -> CpuBandwidthStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for CpuBandwidthStats
impl PartialEq for CpuBandwidthStats
impl Copy for CpuBandwidthStats
impl Eq for CpuBandwidthStats
impl StructuralPartialEq for CpuBandwidthStats
Auto Trait Implementations§
impl Freeze for CpuBandwidthStats
impl RefUnwindSafe for CpuBandwidthStats
impl Send for CpuBandwidthStats
impl Sync for CpuBandwidthStats
impl Unpin for CpuBandwidthStats
impl UnwindSafe for CpuBandwidthStats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)