pub struct BloomWalkStats {
pub filter_not_present: u32,
pub maybe: u32,
pub definitely_not: u32,
pub false_positive: u32,
}Expand description
Counters for GIT_TRACE2_PERF Bloom statistics (revision.c trace2_bloom_filter_statistics_atexit).
Fields§
§filter_not_present: u32Filter not present for this item.
maybe: u32Maybe for this item.
definitely_not: u32Definitely not for this item.
false_positive: u32False positive for this item.
Implementations§
Source§impl BloomWalkStats
impl BloomWalkStats
Sourcepub fn record_precheck(&mut self, pre: BloomPrecheck)
pub fn record_precheck(&mut self, pre: BloomPrecheck)
Record precheck.
Sourcepub fn record_false_positive(&mut self)
pub fn record_false_positive(&mut self)
Record false positive.
Trait Implementations§
Source§impl Clone for BloomWalkStats
impl Clone for BloomWalkStats
Source§impl Debug for BloomWalkStats
impl Debug for BloomWalkStats
Auto Trait Implementations§
impl Freeze for BloomWalkStats
impl RefUnwindSafe for BloomWalkStats
impl Send for BloomWalkStats
impl Sync for BloomWalkStats
impl Unpin for BloomWalkStats
impl UnsafeUnpin for BloomWalkStats
impl UnwindSafe for BloomWalkStats
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