pub struct SchedulerProfile {
pub total_decisions: u64,
pub avg_decision_latency: u64,
pub max_decision_latency: u64,
pub avg_ready_queue_length: f32,
pub max_ready_queue_length: usize,
pub load_balance_efficiency: f32,
}
Expand description
Scheduler profiling data.
Fields§
§total_decisions: u64
Total scheduler decisions
avg_decision_latency: u64
Average decision latency (nanoseconds)
max_decision_latency: u64
Maximum decision latency (nanoseconds)
avg_ready_queue_length: f32
Average ready queue length
max_ready_queue_length: usize
Maximum ready queue length observed
load_balance_efficiency: f32
Load balancing efficiency
Trait Implementations§
Source§impl Clone for SchedulerProfile
impl Clone for SchedulerProfile
Source§fn clone(&self) -> SchedulerProfile
fn clone(&self) -> SchedulerProfile
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 SchedulerProfile
impl RefUnwindSafe for SchedulerProfile
impl Send for SchedulerProfile
impl Sync for SchedulerProfile
impl Unpin for SchedulerProfile
impl UnwindSafe for SchedulerProfile
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