pub struct BenchmarkResult {
pub operation_name: String,
pub input_size: usize,
pub gpu_time: Duration,
pub cpu_time: Duration,
pub gpu_throughput: f64,
pub cpu_throughput: f64,
pub speedup_factor: f64,
pub memory_usage: usize,
}
Expand description
Benchmark results for a single operation
Fields§
§operation_name: String
§input_size: usize
§gpu_time: Duration
§cpu_time: Duration
§gpu_throughput: f64
§cpu_throughput: f64
§speedup_factor: f64
§memory_usage: usize
Trait Implementations§
Source§impl Clone for BenchmarkResult
impl Clone for BenchmarkResult
Source§fn clone(&self) -> BenchmarkResult
fn clone(&self) -> BenchmarkResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BenchmarkResult
impl RefUnwindSafe for BenchmarkResult
impl Send for BenchmarkResult
impl Sync for BenchmarkResult
impl Unpin for BenchmarkResult
impl UnwindSafe for BenchmarkResult
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