pub struct VerifiedPerformanceObservations { /* private fields */ }Expand description
Exact integer performance observations derived from retained raw samples.
The raw p95 numerators and denominators deliberately match the promoter
core’s PerformanceAssessment interface. Every decision is made with
cross-multiplied u128 arithmetic; no floating-point value can pass or fail
a threshold here.
use serde::de::DeserializeOwned;
use u280_evidence_oracle::VerifiedPerformanceObservations;
fn require_deserialize<T: DeserializeOwned>() {}
require_deserialize::<VerifiedPerformanceObservations>();use u280_evidence_oracle::VerifiedPerformanceObservations;
fn require_clone<T: Clone>() {}
require_clone::<VerifiedPerformanceObservations>();Implementations§
Source§impl VerifiedPerformanceObservations
impl VerifiedPerformanceObservations
Sourcepub fn required_batch(&self) -> u32
pub fn required_batch(&self) -> u32
Required performance batch (16_384).
Sourcepub fn minimum_measured_samples(&self) -> usize
pub fn minimum_measured_samples(&self) -> usize
Minimum measured population (30).
Sourcepub fn normalized_clock_hz(&self) -> u64
pub fn normalized_clock_hz(&self) -> u64
Exact arithmetic normalization clock (250_000_000 Hz).
Sourcepub fn minimum_signatures_per_second(&self) -> u64
pub fn minimum_signatures_per_second(&self) -> u64
Exact minimum sustained rate (500_000 signatures/s).
Sourcepub fn maximum_capture_cycles_per_result(&self) -> u64
pub fn maximum_capture_cycles_per_result(&self) -> u64
Exact maximum p95 capture/core cost (500 cycles/result).
Sourcepub fn required_batch_requested(&self) -> bool
pub fn required_batch_requested(&self) -> bool
Whether the required batch was requested by the retained run.
Sourcepub fn observed_measured_samples(&self) -> usize
pub fn observed_measured_samples(&self) -> usize
Exact number of measured samples in the required batch.
Sourcepub fn p95_rank(&self) -> Option<usize>
pub fn p95_rank(&self) -> Option<usize>
One-based nearest-rank p95 position within the measured population.
Sourcepub fn p95_capture_interval_cycles(&self) -> Option<u64>
pub fn p95_capture_interval_cycles(&self) -> Option<u64>
Raw p95 capture/core numerator in cycles.
Sourcepub fn capture_results_denominator(&self) -> u32
pub fn capture_results_denominator(&self) -> u32
Inter-result denominator for the capture/core numerator.
Sourcepub fn p95_whole_kernel_nanoseconds(&self) -> Option<u64>
pub fn p95_whole_kernel_nanoseconds(&self) -> Option<u64>
Raw p95 whole-kernel elapsed numerator in nanoseconds.
Sourcepub fn whole_kernel_results_denominator(&self) -> u32
pub fn whole_kernel_results_denominator(&self) -> u32
Result-count denominator for the whole-kernel numerator.
Sourcepub fn clock(&self) -> &VerifiedClockObservation
pub fn clock(&self) -> &VerifiedClockObservation
Exact shared clock observation.
Sourcepub fn samples(&self) -> &[VerifiedPerformanceSample]
pub fn samples(&self) -> &[VerifiedPerformanceSample]
Every independently parsed sample, including warmups and controls.
Trait Implementations§
Source§impl PartialEq for VerifiedPerformanceObservations
impl PartialEq for VerifiedPerformanceObservations
Source§fn eq(&self, other: &VerifiedPerformanceObservations) -> bool
fn eq(&self, other: &VerifiedPerformanceObservations) -> bool
self and other values to be equal, and is used by ==.