pub struct SimdParsingStats {
pub total_parses: u64,
pub simd_accelerated_parses: u64,
pub total_bytes_processed: u64,
pub average_processing_time_ns: u64,
pub simd_efficiency: f64,
}
Expand description
Statistics about SIMD parsing performance
Fields§
§total_parses: u64
§simd_accelerated_parses: u64
§total_bytes_processed: u64
§average_processing_time_ns: u64
§simd_efficiency: f64
Implementations§
Source§impl SimdParsingStats
impl SimdParsingStats
Sourcepub fn simd_usage_ratio(&self) -> f64
pub fn simd_usage_ratio(&self) -> f64
Calculate SIMD usage ratio
Sourcepub fn average_throughput_mbps(&self) -> f64
pub fn average_throughput_mbps(&self) -> f64
Calculate average throughput in MB/s
Trait Implementations§
Source§impl Clone for SimdParsingStats
impl Clone for SimdParsingStats
Source§fn clone(&self) -> SimdParsingStats
fn clone(&self) -> SimdParsingStats
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 moreSource§impl Debug for SimdParsingStats
impl Debug for SimdParsingStats
Auto Trait Implementations§
impl Freeze for SimdParsingStats
impl RefUnwindSafe for SimdParsingStats
impl Send for SimdParsingStats
impl Sync for SimdParsingStats
impl Unpin for SimdParsingStats
impl UnwindSafe for SimdParsingStats
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