pub struct DirectionSummary {
pub direction: TransferDirection,
pub transfer_count: usize,
pub total_bytes: usize,
pub avg_bandwidth_gbps: f64,
pub min_bandwidth_gbps: f64,
pub max_bandwidth_gbps: f64,
pub latency_overhead_us: f64,
}Expand description
Aggregated statistics for transfers in a single direction.
Fields§
§direction: TransferDirectionThe transfer direction these statistics cover.
transfer_count: usizeNumber of transfers recorded for this direction.
total_bytes: usizeTotal bytes transferred across all measurements.
avg_bandwidth_gbps: f64Average bandwidth in GB/s across all measurements.
min_bandwidth_gbps: f64Minimum observed bandwidth in GB/s.
max_bandwidth_gbps: f64Maximum observed bandwidth in GB/s.
latency_overhead_us: f64Estimated fixed latency overhead in microseconds.
Derived from the smallest transfer: this approximates the per-transfer setup cost independent of data size.
Trait Implementations§
Source§impl Clone for DirectionSummary
impl Clone for DirectionSummary
Source§fn clone(&self) -> DirectionSummary
fn clone(&self) -> DirectionSummary
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 DirectionSummary
impl Debug for DirectionSummary
Auto Trait Implementations§
impl Freeze for DirectionSummary
impl RefUnwindSafe for DirectionSummary
impl Send for DirectionSummary
impl Sync for DirectionSummary
impl Unpin for DirectionSummary
impl UnsafeUnpin for DirectionSummary
impl UnwindSafe for DirectionSummary
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