pub struct ParallelPerformanceMetrics {
pub total_time_secs: f64,
pub parallel_time_secs: f64,
pub sync_time_secs: f64,
pub workers_used: usize,
pub parallel_efficiency: f64,
pub memory_usage_mb: Vec<f64>,
pub load_balance_efficiency: f64,
}Expand description
Performance metrics for parallel training
Fields§
§total_time_secs: f64Total training time
parallel_time_secs: f64Time spent in parallel computation
sync_time_secs: f64Time spent in synchronization
workers_used: usizeNumber of workers used
parallel_efficiency: f64Parallel efficiency (0.0 to 1.0)
memory_usage_mb: Vec<f64>Memory usage per worker (MB)
load_balance_efficiency: f64Load balancing efficiency
Trait Implementations§
Source§impl Clone for ParallelPerformanceMetrics
impl Clone for ParallelPerformanceMetrics
Source§fn clone(&self) -> ParallelPerformanceMetrics
fn clone(&self) -> ParallelPerformanceMetrics
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 ParallelPerformanceMetrics
impl Debug for ParallelPerformanceMetrics
Auto Trait Implementations§
impl Freeze for ParallelPerformanceMetrics
impl RefUnwindSafe for ParallelPerformanceMetrics
impl Send for ParallelPerformanceMetrics
impl Sync for ParallelPerformanceMetrics
impl Unpin for ParallelPerformanceMetrics
impl UnwindSafe for ParallelPerformanceMetrics
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 more