Skip to main content

CycleTelemetry

Struct CycleTelemetry 

Source
pub struct CycleTelemetry {
    pub static_sccs: usize,
    pub phantom_sccs: usize,
    pub live_cycles_witnessed: usize,
    pub circ_cells_stamped: usize,
    pub settle_passes_total: usize,
    pub max_passes_single_scc: usize,
    pub iterated_sccs: usize,
    pub converged_sccs: usize,
    pub capped_sccs: usize,
    pub max_abs_delta_at_stop: f64,
    pub nan_converged: usize,
    pub elapsed_ms: u128,
}
Expand description

Per-recalc telemetry for SCC evaluation under CycleDetection::Runtime (spec formualizer-cycle-semantics-spec.md §10).

Collection is unconditional: SCC tasks are rare relative to ordinary vertex evaluation and the counters are a handful of integer adds per task, so no config flag gates them (unlike VirtualDepTelemetry, which pays per-schedule costs). Counters reset at the start of every evaluation request.

Fields§

§static_sccs: usize

SCC tasks executed (static SCCs that reached Runtime evaluation).

§phantom_sccs: usize

SCC tasks whose live subgraph was acyclic — values produced.

§live_cycles_witnessed: usize

Distinct live cycles witnessed across all SCC tasks.

§circ_cells_stamped: usize

Cells stamped #CIRC! by Runtime SCC tasks.

§settle_passes_total: usize

Evaluation sweeps over (subsets of) SCC members, totalled across tasks (pass 1 included).

§max_passes_single_scc: usize

Largest pass count any single SCC task needed.

§iterated_sccs: usize

SCC tasks that entered iterative calculation (CyclePolicy::Iterate with a witnessed live cycle). RFC #113, Stage 3.

§converged_sccs: usize

Iterating SCC tasks that stopped because every member passed the spec-§6 convergence test.

§capped_sccs: usize

SCC tasks that stopped at a pass cap. Under CyclePolicy::Iterate this is the Excel max_iterations cap (NOT an error — last values are kept; includes the no-convergence-test max_iterations: 1 contract). Under CyclePolicy::Error it is the defensive acyclic settle cap (|SCC| + 2), which only a bug can hit.

§max_abs_delta_at_stop: f64

Largest |Δ| observed in any member’s final-pass convergence comparison across iterating SCC tasks (numeric-class members only). 0.0 when no comparison ran (e.g. max_iterations: 1).

§nan_converged: usize

Identical-bit NaN vs NaN member comparisons that were treated as converged (spec §6 NaN rule).

§elapsed_ms: u128

Total wall-clock time spent inside Runtime SCC tasks.

Trait Implementations§

Source§

impl Clone for CycleTelemetry

Source§

fn clone(&self) -> CycleTelemetry

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CycleTelemetry

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CycleTelemetry

Source§

fn default() -> CycleTelemetry

Returns the “default value” for a type. Read more
Source§

impl PartialEq for CycleTelemetry

Source§

fn eq(&self, other: &CycleTelemetry) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for CycleTelemetry

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.