pub struct DistributedStats {
pub total_communications: usize,
pub total_bytes_communicated: u64,
pub gradient_syncs: usize,
pub avg_communication_time_ms: f64,
pub load_imbalance: f64,
}Expand description
Statistics for distributed execution.
Fields§
§total_communications: usizeTotal number of communication operations
total_bytes_communicated: u64Total bytes communicated
gradient_syncs: usizeNumber of gradient synchronizations
avg_communication_time_ms: f64Average communication time
load_imbalance: f64Load imbalance metric (0.0 = perfect, 1.0 = worst)
Implementations§
Trait Implementations§
Source§impl Clone for DistributedStats
impl Clone for DistributedStats
Source§fn clone(&self) -> DistributedStats
fn clone(&self) -> DistributedStats
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 DistributedStats
impl Debug for DistributedStats
Source§impl Default for DistributedStats
impl Default for DistributedStats
Source§fn default() -> DistributedStats
fn default() -> DistributedStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DistributedStats
impl RefUnwindSafe for DistributedStats
impl Send for DistributedStats
impl Sync for DistributedStats
impl Unpin for DistributedStats
impl UnwindSafe for DistributedStats
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