pub struct TimedResult {
pub size: usize,
pub dense_ops: usize,
pub sparse_ops: usize,
pub skipped_ops: usize,
pub weight_sparsity: f64,
pub skip_rate: f64,
pub speedup: f64,
pub dense_us: u64,
pub sparse_us: u64,
}Expand description
Wall-clock timed benchmark result for one matrix size.
Fields§
§size: usize§dense_ops: usize§sparse_ops: usize§skipped_ops: usize§weight_sparsity: f64§skip_rate: f64§speedup: f64§dense_us: u64§sparse_us: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimedResult
impl RefUnwindSafe for TimedResult
impl Send for TimedResult
impl Sync for TimedResult
impl Unpin for TimedResult
impl UnsafeUnpin for TimedResult
impl UnwindSafe for TimedResult
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
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>
Converts
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>
Converts
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