pub struct CandidateResult {
pub id: String,
pub config: String,
pub status: String,
pub error: Option<String>,
pub warmup: u32,
pub repeats: u32,
pub times_ms: Vec<f64>,
pub summary: Option<Summary>,
pub gpu_seconds: f64,
}Expand description
What measuring one candidate produced — including the ways it can fail.
Fields§
§id: StringIts canonical config.v1 ID, joining this to the plan and verdicts.
config: StringIts dimension assignments.
status: Stringok, error, or timeout — the last meaning a watchdog fired on
a candidate the gate had refused, which is the refusal being right.
error: Option<String>Why it failed, when it did.
warmup: u32Untimed launches performed before measuring.
repeats: u32Timed launches requested.
times_ms: Vec<f64>Every raw sample, in launch order. Kept so a summary can be recomputed without re-running the GPU.
summary: Option<Summary>The reduction of times_ms. None when nothing was measured.
gpu_seconds: f64Wall-clock seconds this candidate consumed on the GPU host.
Trait Implementations§
Source§impl Clone for CandidateResult
impl Clone for CandidateResult
Source§fn clone(&self) -> CandidateResult
fn clone(&self) -> CandidateResult
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 Debug for CandidateResult
impl Debug for CandidateResult
Source§impl<'de> Deserialize<'de> for CandidateResult
impl<'de> Deserialize<'de> for CandidateResult
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
Auto Trait Implementations§
impl Freeze for CandidateResult
impl RefUnwindSafe for CandidateResult
impl Send for CandidateResult
impl Sync for CandidateResult
impl Unpin for CandidateResult
impl UnsafeUnpin for CandidateResult
impl UnwindSafe for CandidateResult
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