pub struct ControlFlowStats {
pub units: usize,
pub indexed_units: usize,
pub skipped_shallow: usize,
pub distinct_skeletons: usize,
pub stop_skeletons: usize,
pub stop_postings: usize,
pub filtered_by_size: usize,
pub candidate_pairs: usize,
pub budget_exhausted: bool,
pub budget_dropped: usize,
}Expand description
Counters describing what control-flow generation saw and dropped.
Fields§
§units: usizeUnits across all files.
indexed_units: usizeUnits indexed (cleared min_ops).
skipped_shallow: usizeUnits skipped for having too small a skeleton.
distinct_skeletons: usizeDistinct skeletons in the index.
stop_skeletons: usizeSkeletons dropped for exceeding the posting cap.
stop_postings: usizeUnits dropped with them.
filtered_by_size: usizePairs dropped by the length-ratio gate.
candidate_pairs: usizeCandidate pairs emitted.
budget_exhausted: boolWhether the pair budget ran out before all posting lists were paired.
budget_dropped: usizeCandidate pairs in lists the pair budget refused after their length-ratio gate was evaluated.
Trait Implementations§
Source§impl Clone for ControlFlowStats
impl Clone for ControlFlowStats
Source§fn clone(&self) -> ControlFlowStats
fn clone(&self) -> ControlFlowStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ControlFlowStats
impl Debug for ControlFlowStats
Source§impl Default for ControlFlowStats
impl Default for ControlFlowStats
Source§fn default() -> ControlFlowStats
fn default() -> ControlFlowStats
Returns the “default value” for a type. Read more
impl Eq for ControlFlowStats
Source§impl PartialEq for ControlFlowStats
impl PartialEq for ControlFlowStats
impl StructuralPartialEq for ControlFlowStats
Auto Trait Implementations§
impl Freeze for ControlFlowStats
impl RefUnwindSafe for ControlFlowStats
impl Send for ControlFlowStats
impl Sync for ControlFlowStats
impl Unpin for ControlFlowStats
impl UnsafeUnpin for ControlFlowStats
impl UnwindSafe for ControlFlowStats
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<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
Compare self to
key and return true if they are equal.