pub struct VerifiedPerformanceSample { /* private fields */ }Expand description
One independently re-parsed raw timing/summary/diagnostic observation.
capture_core_interval_cycles is the raw numerator spanning batch - 1
inter-result intervals. whole_kernel_nanoseconds is the raw elapsed
numerator spanning batch results. The final promoter must consume these
observations through the enclosing opaque guard, not accept caller-created
lookalike samples.
ⓘ
use u280_evidence_oracle::VerifiedPerformanceSample;
let _forged = VerifiedPerformanceSample {};ⓘ
use serde::de::DeserializeOwned;
use u280_evidence_oracle::VerifiedPerformanceSample;
fn require_deserialize<T: DeserializeOwned>() {}
require_deserialize::<VerifiedPerformanceSample>();ⓘ
use u280_evidence_oracle::VerifiedPerformanceSample;
fn require_clone<T: Clone>() {}
require_clone::<VerifiedPerformanceSample>();Implementations§
Source§impl VerifiedPerformanceSample
impl VerifiedPerformanceSample
Sourcepub fn sample_index(&self) -> usize
pub fn sample_index(&self) -> usize
Zero-based sample index within its batch and phase.
Sourcepub fn capture_core_interval_cycles(&self) -> u64
pub fn capture_core_interval_cycles(&self) -> u64
Raw capture/core span in cycles over batch - 1 intervals.
Sourcepub fn memory_retirement_interval_cycles(&self) -> u64
pub fn memory_retirement_interval_cycles(&self) -> u64
Raw memory-retirement span in cycles over batch - 1 intervals.
Sourcepub fn whole_kernel_nanoseconds(&self) -> u64
pub fn whole_kernel_nanoseconds(&self) -> u64
Raw whole-kernel elapsed time in nanoseconds over batch results.
Sourcepub fn is_required_performance_population(&self) -> bool
pub fn is_required_performance_population(&self) -> bool
Whether this sample belongs to the required p95 population.
Trait Implementations§
Source§impl Debug for VerifiedPerformanceSample
impl Debug for VerifiedPerformanceSample
impl Eq for VerifiedPerformanceSample
impl StructuralPartialEq for VerifiedPerformanceSample
Auto Trait Implementations§
impl Freeze for VerifiedPerformanceSample
impl RefUnwindSafe for VerifiedPerformanceSample
impl Send for VerifiedPerformanceSample
impl Sync for VerifiedPerformanceSample
impl Unpin for VerifiedPerformanceSample
impl UnsafeUnpin for VerifiedPerformanceSample
impl UnwindSafe for VerifiedPerformanceSample
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