pub struct Sample {
pub batch_name: usize,
pub dcg_sample: EngineSample,
pub naive_sample: EngineSample,
pub output_valid: Option<bool>,
}Expand description
The experiment consists of a loop over samples. For each sample, we switch back and forth between using the Naive engine, and using the DCG engine. We want to interleave this way for each sample in order to compare outputs and metrics (counts and timings) on a fine-grained scale.
Fields§
§batch_name: usize§dcg_sample: EngineSample§naive_sample: EngineSample§output_valid: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl !Send for Sample
impl !Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
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