pub struct ParallelBenchmarkResult {
pub single_threaded_time: Duration,
pub single_threaded_throughput: f64,
pub single_threaded_elements: usize,
pub thread_results: Vec<ThreadResult>,
pub best_speedup: f64,
pub best_throughput: f64,
pub target_achieved: bool,
}Fields§
§single_threaded_time: Duration§single_threaded_throughput: f64§single_threaded_elements: usize§thread_results: Vec<ThreadResult>§best_speedup: f64§best_throughput: f64§target_achieved: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ParallelBenchmarkResult
impl RefUnwindSafe for ParallelBenchmarkResult
impl Send for ParallelBenchmarkResult
impl Sync for ParallelBenchmarkResult
impl Unpin for ParallelBenchmarkResult
impl UnwindSafe for ParallelBenchmarkResult
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