pub struct ResourceAwarenessConfig {
pub enable_memory_awareness: bool,
pub enable_compute_awareness: bool,
pub prediction_horizon_ms: u64,
pub safety_margin: f32,
}Expand description
Resource awareness configuration
Fields§
§enable_memory_awareness: boolEnable memory-aware scheduling
enable_compute_awareness: boolEnable compute-aware scheduling
prediction_horizon_ms: u64Resource prediction horizon
safety_margin: f32Resource safety margin (0.0 - 1.0)
Trait Implementations§
Source§impl Clone for ResourceAwarenessConfig
impl Clone for ResourceAwarenessConfig
Source§fn clone(&self) -> ResourceAwarenessConfig
fn clone(&self) -> ResourceAwarenessConfig
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 ResourceAwarenessConfig
impl Debug for ResourceAwarenessConfig
Source§impl<'de> Deserialize<'de> for ResourceAwarenessConfig
impl<'de> Deserialize<'de> for ResourceAwarenessConfig
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
Auto Trait Implementations§
impl Freeze for ResourceAwarenessConfig
impl RefUnwindSafe for ResourceAwarenessConfig
impl Send for ResourceAwarenessConfig
impl Sync for ResourceAwarenessConfig
impl Unpin for ResourceAwarenessConfig
impl UnsafeUnpin for ResourceAwarenessConfig
impl UnwindSafe for ResourceAwarenessConfig
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