pub struct ProbeStatus {
pub gpu_mem: bool,
pub cuda_trace: bool,
pub nccl: bool,
pub dataload: bool,
pub dist_sync: bool,
}Expand description
Identifies which probes are available.
Fields§
§gpu_mem: bool§cuda_trace: bool§nccl: bool§dataload: bool§dist_sync: boolImplementations§
Source§impl ProbeStatus
impl ProbeStatus
pub fn none() -> Self
pub fn active_count(&self) -> usize
Trait Implementations§
Source§impl Clone for ProbeStatus
impl Clone for ProbeStatus
Source§fn clone(&self) -> ProbeStatus
fn clone(&self) -> ProbeStatus
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 moreAuto Trait Implementations§
impl Freeze for ProbeStatus
impl RefUnwindSafe for ProbeStatus
impl Send for ProbeStatus
impl Sync for ProbeStatus
impl Unpin for ProbeStatus
impl UnwindSafe for ProbeStatus
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