pub struct PlanEstimate {
pub critical_path_cost: f64,
pub total_cost: f64,
pub calibrated_parallel_p90_ms: Option<f64>,
pub calibrated_channel_total_p90_ms: Option<f64>,
pub calibrated_fusion_p90_ms: Option<f64>,
pub calibrated_rerank_p90_ms: Option<f64>,
pub calibrated_context_p90_ms: Option<f64>,
pub calibrated_total_p90_ms: Option<f64>,
}Expand description
Relative work estimate. These units compare plans; they are not latency.
Fields§
§critical_path_cost: f64§total_cost: f64§calibrated_parallel_p90_ms: Option<f64>Calibrated p90 for the parallel candidate stage, excluding later stages.
calibrated_channel_total_p90_ms: Option<f64>Sum of calibrated channel p90 values; useful as a CPU-work proxy.
calibrated_fusion_p90_ms: Option<f64>§calibrated_rerank_p90_ms: Option<f64>§calibrated_context_p90_ms: Option<f64>§calibrated_total_p90_ms: Option<f64>End-to-end estimate for the stages in this plan. This is available only after every selected stage has enough observations in its workload bucket.
Trait Implementations§
Source§impl Clone for PlanEstimate
impl Clone for PlanEstimate
Source§impl Debug for PlanEstimate
impl Debug for PlanEstimate
Source§impl PartialEq for PlanEstimate
impl PartialEq for PlanEstimate
Source§impl Serialize for PlanEstimate
impl Serialize for PlanEstimate
impl StructuralPartialEq for PlanEstimate
Auto Trait Implementations§
impl Freeze for PlanEstimate
impl RefUnwindSafe for PlanEstimate
impl Send for PlanEstimate
impl Sync for PlanEstimate
impl Unpin for PlanEstimate
impl UnsafeUnpin for PlanEstimate
impl UnwindSafe for PlanEstimate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more