pub struct GraphSearchCounters { /* private fields */ }Expand description
Deterministic work counters for one completed query.
Implementations§
Source§impl GraphSearchCounters
impl GraphSearchCounters
Sourcepub const fn candidate_window_peak(self) -> usize
pub const fn candidate_window_peak(self) -> usize
Maximum actual retained candidate pool/frontier entries.
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.