#[repr(C)]pub struct DistSyncEvent {
pub pid: u32,
pub tid: u32,
pub wait_ns: u64,
pub timestamp_ns: u64,
}Expand description
Distributed training synchronization event. Layout must match struct zernel_dist_sync_event in common.h.
Fields§
§pid: u32§tid: u32§wait_ns: u64§timestamp_ns: u64Trait Implementations§
Source§impl Clone for DistSyncEvent
impl Clone for DistSyncEvent
Source§fn clone(&self) -> DistSyncEvent
fn clone(&self) -> DistSyncEvent
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 DistSyncEvent
impl Debug for DistSyncEvent
Auto Trait Implementations§
impl Freeze for DistSyncEvent
impl RefUnwindSafe for DistSyncEvent
impl Send for DistSyncEvent
impl Sync for DistSyncEvent
impl Unpin for DistSyncEvent
impl UnwindSafe for DistSyncEvent
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