pub struct PhaseDetectionConfig {
pub io_wait_threshold: f32,
pub optimizer_burst_max_ns: u64,
pub gpu_idle_threshold: u8,
pub gpu_active_threshold: u8,
pub phase_stability_count: u32,
pub nccl_detection_enabled: bool,
}Fields§
§io_wait_threshold: f32§optimizer_burst_max_ns: u64§gpu_idle_threshold: u8§gpu_active_threshold: u8§phase_stability_count: u32Number of consecutive samples before committing a phase transition.
nccl_detection_enabled: boolEnable NCCL collective detection (requires BPF probes).
Trait Implementations§
Source§impl Clone for PhaseDetectionConfig
impl Clone for PhaseDetectionConfig
Source§fn clone(&self) -> PhaseDetectionConfig
fn clone(&self) -> PhaseDetectionConfig
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 PhaseDetectionConfig
impl Debug for PhaseDetectionConfig
Source§impl Default for PhaseDetectionConfig
impl Default for PhaseDetectionConfig
Source§impl<'de> Deserialize<'de> for PhaseDetectionConfigwhere
PhaseDetectionConfig: Default,
impl<'de> Deserialize<'de> for PhaseDetectionConfigwhere
PhaseDetectionConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PhaseDetectionConfig> for PhaseDetectorConfig
impl From<&PhaseDetectionConfig> for PhaseDetectorConfig
Source§fn from(cfg: &PhaseDetectionConfig) -> Self
fn from(cfg: &PhaseDetectionConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PhaseDetectionConfig
impl RefUnwindSafe for PhaseDetectionConfig
impl Send for PhaseDetectionConfig
impl Sync for PhaseDetectionConfig
impl Unpin for PhaseDetectionConfig
impl UnwindSafe for PhaseDetectionConfig
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