pub struct PerformanceGoals {
pub target_throughput: Option<f64>,
pub target_latency: Option<f64>,
pub target_utilization: Option<f64>,
pub target_efficiency: Option<f64>,
pub target_cache_hit_ratio: Option<f64>,
pub target_memory_bandwidth: Option<f64>,
pub target_cpu_frequency: Option<f64>,
pub optimization_mode: PerformanceMode,
pub qos_level: QualityOfService,
}Expand description
Performance optimization goals and targets
Fields§
§target_throughput: Option<f64>Target throughput (tasks per second)
target_latency: Option<f64>Target average latency in milliseconds
target_utilization: Option<f64>Target resource utilization percentage (0-100)
target_efficiency: Option<f64>Target system efficiency percentage (0-100)
target_cache_hit_ratio: Option<f64>Target cache hit ratio (0-1)
target_memory_bandwidth: Option<f64>Target memory bandwidth utilization
target_cpu_frequency: Option<f64>Target CPU frequency scaling
optimization_mode: PerformanceModePerformance optimization mode
qos_level: QualityOfServiceQuality of Service level
Implementations§
Trait Implementations§
Source§impl Clone for PerformanceGoals
impl Clone for PerformanceGoals
Source§fn clone(&self) -> PerformanceGoals
fn clone(&self) -> PerformanceGoals
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 PerformanceGoals
impl Debug for PerformanceGoals
Auto Trait Implementations§
impl Freeze for PerformanceGoals
impl RefUnwindSafe for PerformanceGoals
impl Send for PerformanceGoals
impl Sync for PerformanceGoals
impl Unpin for PerformanceGoals
impl UnwindSafe for PerformanceGoals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more