pub struct ParallelTensorStats {
pub total_contractions: u64,
pub total_computation_time: Duration,
pub parallel_efficiency: f64,
pub peak_memory_usage: usize,
pub thread_utilization: Vec<f64>,
pub load_balance_factor: f64,
pub cache_hit_rate: f64,
}
Expand description
Performance statistics for parallel tensor operations
Fields§
§total_contractions: u64
Total contractions performed
total_computation_time: Duration
Total computation time
parallel_efficiency: f64
Total parallel efficiency (0.0 to 1.0)
peak_memory_usage: usize
Memory usage statistics
thread_utilization: Vec<f64>
Thread utilization statistics
load_balance_factor: f64
Load balancing effectiveness
cache_hit_rate: f64
Cache hit rate for intermediate results
Trait Implementations§
Source§impl Clone for ParallelTensorStats
impl Clone for ParallelTensorStats
Source§fn clone(&self) -> ParallelTensorStats
fn clone(&self) -> ParallelTensorStats
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 ParallelTensorStats
impl Debug for ParallelTensorStats
Source§impl Default for ParallelTensorStats
impl Default for ParallelTensorStats
Source§fn default() -> ParallelTensorStats
fn default() -> ParallelTensorStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParallelTensorStats
impl RefUnwindSafe for ParallelTensorStats
impl Send for ParallelTensorStats
impl Sync for ParallelTensorStats
impl Unpin for ParallelTensorStats
impl UnwindSafe for ParallelTensorStats
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> 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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.