pub struct DimensionScore {
pub resource_type: ResourceType,
pub cost_fraction: f64,
pub acquire_wait_fraction: f64,
pub ops_per_sec: f64,
pub bytes_per_sec: f64,
pub level: SensitivityLevel,
}Expand description
Sensitivity score for a single resource dimension.
Fields§
§resource_type: ResourceTypeResource type (Mem, Block, Gpu, Cpu).
cost_fraction: f64Fraction of total lease cost attributable to this type.
acquire_wait_fraction: f64Fraction of total acquire wait attributable to this type.
ops_per_sec: f64Operations per second for this resource type.
bytes_per_sec: f64Bytes per second for this resource type.
level: SensitivityLevelInferred sensitivity level.
Trait Implementations§
Source§impl Clone for DimensionScore
impl Clone for DimensionScore
Source§fn clone(&self) -> DimensionScore
fn clone(&self) -> DimensionScore
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 DimensionScore
impl RefUnwindSafe for DimensionScore
impl Send for DimensionScore
impl Sync for DimensionScore
impl Unpin for DimensionScore
impl UnwindSafe for DimensionScore
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