pub struct VectorizationMetrics {
pub vectorization_rate: f64,
pub lane_utilization: f64,
pub throughput_efficiency: f64,
pub elements_per_operation: f64,
}Expand description
Vectorization efficiency metrics
Fields§
§vectorization_rate: f64Percentage of operations that were vectorized (0.0 - 1.0)
lane_utilization: f64SIMD lane utilization efficiency (0.0 - 1.0)
throughput_efficiency: f64Theoretical vs actual throughput ratio
elements_per_operation: f64Number of elements processed per SIMD operation
Trait Implementations§
Source§impl Clone for VectorizationMetrics
impl Clone for VectorizationMetrics
Source§fn clone(&self) -> VectorizationMetrics
fn clone(&self) -> VectorizationMetrics
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 moreSource§impl Debug for VectorizationMetrics
impl Debug for VectorizationMetrics
Source§impl Default for VectorizationMetrics
impl Default for VectorizationMetrics
Source§fn default() -> VectorizationMetrics
fn default() -> VectorizationMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VectorizationMetrics
impl RefUnwindSafe for VectorizationMetrics
impl Send for VectorizationMetrics
impl Sync for VectorizationMetrics
impl Unpin for VectorizationMetrics
impl UnsafeUnpin for VectorizationMetrics
impl UnwindSafe for VectorizationMetrics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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