pub struct HybStatistics {
pub ell_fraction: f64,
pub coo_fraction: f64,
pub ell_padding_ratio: f64,
pub memory_bytes: usize,
pub csr_memory_bytes: usize,
}Expand description
Statistics describing the quality of the HYB partition.
Fields§
§ell_fraction: f64Fraction of total nnz stored in the ELL portion (0.0–1.0).
coo_fraction: f64Fraction of total nnz stored in the COO portion (0.0–1.0).
ell_padding_ratio: f64Ratio of wasted (padding) slots in the ELL portion.
Computed as (ell_total_slots - ell_nnz) / ell_total_slots.
memory_bytes: usizeTotal memory consumption of the HYB format in bytes.
csr_memory_bytes: usizeMemory consumption of an equivalent CSR representation in bytes, for comparison purposes.
Trait Implementations§
Source§impl Clone for HybStatistics
impl Clone for HybStatistics
Source§fn clone(&self) -> HybStatistics
fn clone(&self) -> HybStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HybStatistics
Auto Trait Implementations§
impl Freeze for HybStatistics
impl RefUnwindSafe for HybStatistics
impl Send for HybStatistics
impl Sync for HybStatistics
impl Unpin for HybStatistics
impl UnsafeUnpin for HybStatistics
impl UnwindSafe for HybStatistics
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