pub struct DemocritusTickResult {
pub impulses_sensed: usize,
pub embeddings_produced: usize,
pub searches_performed: usize,
pub edges_added: usize,
pub crossrefs_added: usize,
pub budget_exceeded: bool,
pub duration_us: u64,
}Expand description
Summary of a single DEMOCRITUS tick cycle.
Fields§
§impulses_sensed: usizeNumber of impulses drained in the SENSE phase.
embeddings_produced: usizeNumber of embeddings produced in the EMBED phase.
searches_performed: usizeNumber of vector searches performed in the SEARCH phase.
edges_added: usizeNumber of causal edges added in the UPDATE phase.
crossrefs_added: usizeNumber of cross-refs registered in the UPDATE phase.
budget_exceeded: boolWhether the tick was cut short due to budget exhaustion.
duration_us: u64Wall-clock duration of the tick in microseconds.
Trait Implementations§
Source§impl Clone for DemocritusTickResult
impl Clone for DemocritusTickResult
Source§impl Debug for DemocritusTickResult
impl Debug for DemocritusTickResult
Source§impl<'de> Deserialize<'de> for DemocritusTickResult
impl<'de> Deserialize<'de> for DemocritusTickResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DemocritusTickResult
impl RefUnwindSafe for DemocritusTickResult
impl Send for DemocritusTickResult
impl Sync for DemocritusTickResult
impl Unpin for DemocritusTickResult
impl UnsafeUnpin for DemocritusTickResult
impl UnwindSafe for DemocritusTickResult
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more