pub struct OptimizedMatrixStats {
pub matvec_count: usize,
pub bytes_processed: usize,
pub buffer_pool_stats: BufferPoolStats,
pub matrix_nnz: usize,
pub matrix_rows: usize,
pub workspace_size: usize,
}Expand description
Performance statistics for optimized matrix operations.
Fields§
§matvec_count: usize§bytes_processed: usize§buffer_pool_stats: BufferPoolStats§matrix_nnz: usize§matrix_rows: usize§workspace_size: usizeImplementations§
Source§impl OptimizedMatrixStats
impl OptimizedMatrixStats
Sourcepub fn bandwidth_gbs(&self, total_time_ms: f64) -> f64
pub fn bandwidth_gbs(&self, total_time_ms: f64) -> f64
Calculate effective bandwidth in GB/s.
Sourcepub fn ops_per_second(&self, total_time_ms: f64) -> f64
pub fn ops_per_second(&self, total_time_ms: f64) -> f64
Calculate operations per second.
Trait Implementations§
Source§impl Clone for OptimizedMatrixStats
impl Clone for OptimizedMatrixStats
Source§fn clone(&self) -> OptimizedMatrixStats
fn clone(&self) -> OptimizedMatrixStats
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 OptimizedMatrixStats
impl RefUnwindSafe for OptimizedMatrixStats
impl Send for OptimizedMatrixStats
impl Sync for OptimizedMatrixStats
impl Unpin for OptimizedMatrixStats
impl UnwindSafe for OptimizedMatrixStats
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