pub struct GraphSearchCounters { /* private fields */ }Expand description
Deterministic work counters for one completed query.
Implementations§
Source§impl GraphSearchCounters
impl GraphSearchCounters
Sourcepub const fn deterministic_work(self) -> DeterministicGraphWork
pub const fn deterministic_work(self) -> DeterministicGraphWork
Returns the work tuple without caller scheduling attribution.
Sourcepub const fn effective_ef(self) -> usize
pub const fn effective_ef(self) -> usize
Returns the adaptive or explicit traversal width used by the query.
Sourcepub const fn candidates_scored(self) -> usize
pub const fn candidates_scored(self) -> usize
Returns distinct nodes scored by the Bit4 estimator.
Sourcepub const fn candidates_rescored(self) -> usize
pub const fn candidates_rescored(self) -> usize
Returns the number of retained candidates exactly rescored from f32 rows.
Sourcepub const fn visited_epoch_cleared(self) -> bool
pub const fn visited_epoch_cleared(self) -> bool
Returns whether this query paid the once-per-255-query visited memset.
Sourcepub const fn dims_touched(self) -> u64
pub const fn dims_touched(self) -> u64
Returns logical coordinates scored by coarse traversal plus exact rescore.
Sourcepub const fn bytes_read(self) -> u64
pub const fn bytes_read(self) -> u64
Returns exact stored coarse and f32-rescore bytes read by this query.
Sourcepub const fn qos_class(self) -> QueryQosClass
pub const fn qos_class(self) -> QueryQosClass
Returns the caller thread’s observed QoS class.
Sourcepub const fn qos_relative_priority(self) -> i32
pub const fn qos_relative_priority(self) -> i32
Returns Darwin’s observed relative QoS priority, or zero when unavailable.
Sourcepub const fn core_class(self) -> QueryCoreClass
pub const fn core_class(self) -> QueryCoreClass
Returns the externally observed core class for this query.
Trait Implementations§
Source§impl Clone for GraphSearchCounters
impl Clone for GraphSearchCounters
Source§fn clone(&self) -> GraphSearchCounters
fn clone(&self) -> GraphSearchCounters
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 moreimpl Copy for GraphSearchCounters
Source§impl Debug for GraphSearchCounters
impl Debug for GraphSearchCounters
impl Eq for GraphSearchCounters
Source§impl PartialEq for GraphSearchCounters
impl PartialEq for GraphSearchCounters
impl StructuralPartialEq for GraphSearchCounters
Auto Trait Implementations§
impl Freeze for GraphSearchCounters
impl RefUnwindSafe for GraphSearchCounters
impl Send for GraphSearchCounters
impl Sync for GraphSearchCounters
impl Unpin for GraphSearchCounters
impl UnsafeUnpin for GraphSearchCounters
impl UnwindSafe for GraphSearchCounters
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