pub struct SwageConfig {
pub profiling_rounds: u64,
pub reproducibility_threshold: f64,
pub hammering_timeout: Option<Duration>,
pub repetitions: Option<u64>,
pub timeout: Option<Duration>,
}Expand description
Configuration parameters for Swage experiments.
Controls profiling behavior, reproducibility requirements, and execution timeouts.
Fields§
§profiling_rounds: u64Number of profiling rounds to identify vulnerable bit flips
reproducibility_threshold: f64Minimum fraction of rounds a bit flip must appear during profiling to be considered reproducible (0.0-1.0)
hammering_timeout: Option<Duration>Timeout for total hammering operation (None = unlimited)
repetitions: Option<u64>Number of times to repeat the attack (None = unlimited)
timeout: Option<Duration>Overall experiment timeout (None = no timeout)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SwageConfig
impl RefUnwindSafe for SwageConfig
impl Send for SwageConfig
impl Sync for SwageConfig
impl Unpin for SwageConfig
impl UnwindSafe for SwageConfig
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> 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