pub struct EngineMetrics {
pub total_time: Duration,
pub attractor_time: Duration,
pub strange_loop_time: Duration,
pub causal_time: Duration,
pub cpg_time: Duration,
pub morph_time: Duration,
pub optimizer_time: Duration,
pub total_spikes: usize,
pub energy_estimate: f64,
pub mincut_value: f64,
pub synchrony: f64,
pub steps: usize,
}Expand description
Metrics from engine operation
Fields§
§total_time: DurationTotal time spent in computation
attractor_time: DurationTime in attractor dynamics
strange_loop_time: DurationTime in strange loop
causal_time: DurationTime in causal discovery
cpg_time: DurationTime in time crystal
morph_time: DurationTime in morphogenesis
optimizer_time: DurationTime in optimization
total_spikes: usizeNumber of spikes generated
energy_estimate: f64Energy estimate (arbitrary units)
mincut_value: f64Current mincut value
synchrony: f64Global synchrony
steps: usizeSteps taken
Trait Implementations§
Source§impl Clone for EngineMetrics
impl Clone for EngineMetrics
Source§fn clone(&self) -> EngineMetrics
fn clone(&self) -> EngineMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineMetrics
impl Debug for EngineMetrics
Source§impl Default for EngineMetrics
impl Default for EngineMetrics
Source§fn default() -> EngineMetrics
fn default() -> EngineMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EngineMetrics
impl RefUnwindSafe for EngineMetrics
impl Send for EngineMetrics
impl Sync for EngineMetrics
impl Unpin for EngineMetrics
impl UnwindSafe for EngineMetrics
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,
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