pub struct Look {
pub changes: Vec<SizingChange>,
pub refused: Vec<SizingRefused>,
pub refused_slots: Vec<SizingRefused>,
pub waited_before_change: Vec<String>,
}Expand description
What a look does: the changes changes picks, and the cpus and slots raises it cannot make.
Fields§
§changes: Vec<SizingChange>The changes to make now, in order, one per profile at most.
refused: Vec<SizingRefused>The profiles whose jobs the CPU cap holds back but whose cpus cannot go up: the slice’s CPUs are unknown or
all theirs, the CPU budget has no room, or under measured admission the raise before did not help them.
refused_slots: Vec<SizingRefused>Under measured admission, the profiles whose jobs waited for a slot alone but whose slots cannot go up:
Docker’s disk is not measured yet, they are at max_slots, or one more slot would leave every slot less than
SLOT_DISK of Docker’s disk.
waited_before_change: Vec<String>Under measured admission, the profiles changed before whose jobs waited for a slot alone in the window but
whose jobs since the change do not ask for one (Fresh::wants_slots): no slot is added for the waits before.
Trait Implementations§
impl Eq for Look
impl StructuralPartialEq for Look
Auto Trait Implementations§
impl Forget for Look
impl Freeze for Look
impl RefUnwindSafe for Look
impl Send for Look
impl Sync for Look
impl Unpin for Look
impl UnsafeUnpin for Look
impl UnwindSafe for Look
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.