pub struct TopQuantile {
pub quantile_p: f64,
pub mean_ns: f64,
pub ci95_ns: (f64, f64),
pub exceed_prob: f64,
}Expand description
Information about a quantile with high exceedance probability.
When a timing leak is detected, this struct provides information about
which specific quantiles (deciles) contribute most to the leak detection.
The top 2-3 quantiles by exceedance probability are included in
EffectEstimate.top_quantiles to help users understand where timing
differences are concentrated.
See spec Section 5.2 (Effect Reporting).
Fields§
§quantile_p: f64Quantile probability (e.g., 0.9 for 90th percentile).
mean_ns: f64Posterior mean δ_k in nanoseconds.
ci95_ns: (f64, f64)95% marginal credible interval (lower, upper) in nanoseconds.
exceed_prob: f64P(|δ_k| > θ_eff | Δ) - per-quantile exceedance probability.
This is the probability that this individual quantile’s effect exceeds the threshold, computed from the marginal posterior.
Implementations§
Trait Implementations§
Source§impl Clone for TopQuantile
impl Clone for TopQuantile
Source§fn clone(&self) -> TopQuantile
fn clone(&self) -> TopQuantile
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 moreSource§impl Debug for TopQuantile
impl Debug for TopQuantile
Source§impl<'de> Deserialize<'de> for TopQuantile
impl<'de> Deserialize<'de> for TopQuantile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TopQuantile
impl PartialEq for TopQuantile
Source§impl Serialize for TopQuantile
impl Serialize for TopQuantile
impl StructuralPartialEq for TopQuantile
Auto Trait Implementations§
impl Freeze for TopQuantile
impl RefUnwindSafe for TopQuantile
impl Send for TopQuantile
impl Sync for TopQuantile
impl Unpin for TopQuantile
impl UnwindSafe for TopQuantile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.