pub struct TimingMetrics {
pub basis: TimingBasis,
pub requested_interval_ms: u64,
pub sample_gap_count: u64,
pub mean_sample_gap_ms: Option<f64>,
pub max_sample_gap_ms: Option<f64>,
pub missed_poll_opportunity_count: u64,
pub measured_oscillation_period_ms: Option<f64>,
pub approximate_samples_per_period: Option<f64>,
pub sampling_adequacy: SamplingAdequacy,
pub poll_latency: Option<PollLatencyMetrics>,
}Expand description
Polling-cadence diagnostics captured over one run’s successful PV samples.
The two optional gap fields are None when fewer than two samples were observed. The
measured oscillation fields are populated only for a completed MRFT run. Sampling adequacy
is advisory metadata and does not determine calculated-result validity or write eligibility.
Fields§
§basis: TimingBasis§requested_interval_ms: u64§sample_gap_count: u64§mean_sample_gap_ms: Option<f64>§max_sample_gap_ms: Option<f64>§missed_poll_opportunity_count: u64Number of adjacent sample gaps at least twice the requested interval. Each such gap proves that at least one complete polling opportunity was missed.
measured_oscillation_period_ms: Option<f64>§approximate_samples_per_period: Option<f64>§sampling_adequacy: SamplingAdequacyAssessment uses the observed samples-per-period value and a six-sample advisory
threshold. Old timing snapshots deserialize as not_assessed.
poll_latency: Option<PollLatencyMetrics>Detailed operation timings. Old timing snapshots may not contain this field.
Trait Implementations§
Source§impl Clone for TimingMetrics
impl Clone for TimingMetrics
Source§fn clone(&self) -> TimingMetrics
fn clone(&self) -> TimingMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for TimingMetrics
impl ComposeSchema for TimingMetrics
impl Copy for TimingMetrics
Source§impl Debug for TimingMetrics
impl Debug for TimingMetrics
Source§impl<'de> Deserialize<'de> for TimingMetrics
impl<'de> Deserialize<'de> for TimingMetrics
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
Source§impl PartialEq for TimingMetrics
impl PartialEq for TimingMetrics
Source§fn eq(&self, other: &TimingMetrics) -> bool
fn eq(&self, other: &TimingMetrics) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TimingMetrics
impl Serialize for TimingMetrics
impl StructuralPartialEq for TimingMetrics
Auto Trait Implementations§
impl Freeze for TimingMetrics
impl RefUnwindSafe for TimingMetrics
impl Send for TimingMetrics
impl Sync for TimingMetrics
impl Unpin for TimingMetrics
impl UnsafeUnpin for TimingMetrics
impl UnwindSafe for TimingMetrics
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>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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