pub struct SystemSchedulerStats {
pub total_threads: usize,
pub active_cpus: usize,
pub total_schedules: u64,
pub total_preemptions: u64,
pub total_yields: u64,
pub total_queue_length: usize,
pub fast_path_ratio: f64,
}
Expand description
System-wide scheduler statistics.
Fields§
§total_threads: usize
§active_cpus: usize
§total_schedules: u64
§total_preemptions: u64
§total_yields: u64
§total_queue_length: usize
§fast_path_ratio: f64
Trait Implementations§
Source§impl Clone for SystemSchedulerStats
impl Clone for SystemSchedulerStats
Source§fn clone(&self) -> SystemSchedulerStats
fn clone(&self) -> SystemSchedulerStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SystemSchedulerStats
impl RefUnwindSafe for SystemSchedulerStats
impl Send for SystemSchedulerStats
impl Sync for SystemSchedulerStats
impl Unpin for SystemSchedulerStats
impl UnwindSafe for SystemSchedulerStats
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