pub struct DiffThresholds {
pub register_increase_warning: f32,
pub register_increase_critical: f32,
pub instruction_increase_warning: f32,
pub instruction_increase_critical: f32,
pub occupancy_decrease_warning: f32,
pub occupancy_decrease_critical: f32,
pub warning_count_increase: u32,
}Expand description
Thresholds for regression detection
Fields§
§register_increase_warning: f32Register increase warning threshold (percentage)
register_increase_critical: f32Register increase critical threshold (percentage)
instruction_increase_warning: f32Instruction count increase warning threshold (percentage)
instruction_increase_critical: f32Instruction count increase critical threshold (percentage)
occupancy_decrease_warning: f32Occupancy decrease warning threshold (percentage points)
occupancy_decrease_critical: f32Occupancy decrease critical threshold (percentage points)
warning_count_increase: u32Warning count increase that triggers concern
Trait Implementations§
Source§impl Clone for DiffThresholds
impl Clone for DiffThresholds
Source§fn clone(&self) -> DiffThresholds
fn clone(&self) -> DiffThresholds
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 DiffThresholds
impl Debug for DiffThresholds
Auto Trait Implementations§
impl Freeze for DiffThresholds
impl RefUnwindSafe for DiffThresholds
impl Send for DiffThresholds
impl Sync for DiffThresholds
impl Unpin for DiffThresholds
impl UnwindSafe for DiffThresholds
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