pub struct Model {
pub producer_cost_share: f64,
pub producer_cost_share_uncertainty: f64,
pub ideal_producer_slots: usize,
pub useful_cap: usize,
pub useful_cap_reason: ProducerCapReason,
pub effective_deadband_threads: usize,
pub effective_resurvey_distance: usize,
}Expand description
The solved model at one instant.
Fields§
Fraction of the pipeline’s total per-item cost that falls on the
producer: s_p / (s_p + s_c). The split is this times the budget.
Approximate 95% half-width of the cost-share estimate across retained clean windows.
ideal_producer_slots: usizeProducer slots the model asks for, before clamping.
useful_cap: usizeProducer slots above which more concurrency has been observed not to
help. usize::MAX when nothing has been observed to bound it.
useful_cap_reason: ProducerCapReasonEvidence that established useful_cap.
effective_deadband_threads: usizeMovement thresholds after scaling the configured absolute floors by the observed uncertainty at this budget.
effective_resurvey_distance: usizeTrait Implementations§
impl Copy for Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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