pub struct HardwareStateReport {
pub sensitivity: Sensitivity,
pub before: HardwareState,
pub after: Option<HardwareState>,
pub delta: Option<HardwareStateDelta>,
pub precheck: Precheck,
pub postcheck: Option<Postcheck>,
pub perf_class: String,
}Fields§
§sensitivity: Sensitivity2026-09-26: Which class of number this was, so a reader knows why the verdict is what it is without looking the benchmark up.
before: HardwareState2026-09-26: Captured by the executor before the coherence probe and
load(), so before any request.
after: Option<HardwareState>2026-09-26: Captured when the run’s terminal frame is ready, including a
failed setup or a cancelled run. None when the precheck refused the run,
when the stream ended without a terminal frame, or when the capture task
failed.
delta: Option<HardwareStateDelta>2026-09-26: after minus before, set with after by HardwareStateReport::close.
precheck: Precheck§postcheck: Option<Postcheck>§perf_class: String2026-09-26: before.machine.perf_class(), e.g. "gb10@dgx1", copied out so
a reader need not derive it.
Implementations§
Source§impl HardwareStateReport
impl HardwareStateReport
Sourcepub fn opened(
sensitivity: Sensitivity,
before: HardwareState,
ceilings: Option<TempCeilings>,
) -> Self
pub fn opened( sensitivity: Sensitivity, before: HardwareState, ceilings: Option<TempCeilings>, ) -> Self
2026-09-26: Open a report with the pre-run capture and its verdict. The switches come from the environment, the ceilings from the caller.
Sourcepub fn close(&mut self, after: HardwareState)
pub fn close(&mut self, after: HardwareState)
2026-09-26: Close it with the post-run capture, the delta and the validity verdict.
Sourcepub fn invalidated(&self) -> bool
pub fn invalidated(&self) -> bool
2026-09-26: True when the postcheck judged the run invalid.
A report that was never closed is not invalid: it is unmeasured, and saying otherwise would blame the box for a harness failure.
Trait Implementations§
Source§impl Clone for HardwareStateReport
impl Clone for HardwareStateReport
Source§fn clone(&self) -> HardwareStateReport
fn clone(&self) -> HardwareStateReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HardwareStateReport
impl Debug for HardwareStateReport
Source§impl<'de> Deserialize<'de> for HardwareStateReport
impl<'de> Deserialize<'de> for HardwareStateReport
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>,
Source§impl PartialEq for HardwareStateReport
impl PartialEq for HardwareStateReport
Source§impl Serialize for HardwareStateReport
impl Serialize for HardwareStateReport
impl StructuralPartialEq for HardwareStateReport
Auto Trait Implementations§
impl Freeze for HardwareStateReport
impl RefUnwindSafe for HardwareStateReport
impl Send for HardwareStateReport
impl Sync for HardwareStateReport
impl Unpin for HardwareStateReport
impl UnwindSafe for HardwareStateReport
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
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>
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