pub struct PhaseTimes {
pub seek_ns: u128,
pub walk_ns: u128,
}Expand description
The clause’s inclusive phase times (LABS-448): the elapsed time spent
resolving node candidates (the seek — the store work behind the
Nodes kind) and following relationships (the walk — the store work
behind the Rels/Degree kinds); the per-candidate admission checks
and the arm’s binding/cloning stay unattributed. Inclusive of the nesting
a compound operator performs: a walk that triggers nested seeks counts
both, like the table’s Total column.
Fields§
§seek_ns: u128The seek phase’s elapsed nanoseconds.
walk_ns: u128The walk phase’s elapsed nanoseconds.
Implementations§
Source§impl PhaseTimes
impl PhaseTimes
Sourcepub fn since(self, earlier: PhaseTimes) -> PhaseTimes
pub fn since(self, earlier: PhaseTimes) -> PhaseTimes
The phases one clause’s arm performed: self minus the snapshot
taken when the arm started. The sums only ever increase, so a
decrease is a broken invariant — the same loud subtraction
StoreReads::since uses, never a clamp to a fabricated zero.
Trait Implementations§
Source§impl Clone for PhaseTimes
impl Clone for PhaseTimes
impl Copy for PhaseTimes
Source§impl Debug for PhaseTimes
impl Debug for PhaseTimes
Source§impl Default for PhaseTimes
impl Default for PhaseTimes
impl Eq for PhaseTimes
Source§impl PartialEq for PhaseTimes
impl PartialEq for PhaseTimes
impl StructuralPartialEq for PhaseTimes
Auto Trait Implementations§
impl Forget for PhaseTimes
impl Freeze for PhaseTimes
impl Move for PhaseTimes
impl RefUnwindSafe for PhaseTimes
impl Send for PhaseTimes
impl Sync for PhaseTimes
impl Unpin for PhaseTimes
impl UnsafeUnpin for PhaseTimes
impl UnwindSafe for PhaseTimes
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
key and return true if they are equal.