pub struct Cr;Expand description
Critical Ratio.
CR = (deadline - current_time) / remaining_work.
- CR < 1.0: behind schedule
- CR = 1.0: on track
- CR > 1.0: ahead of schedule
Prioritizes tasks with lowest CR (most behind).
Trait Implementations§
Source§impl DispatchingRule for Cr
impl DispatchingRule for Cr
impl Copy for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnsafeUnpin for Cr
impl UnwindSafe for Cr
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