pub struct BudgetDecisionSnapshot {Show 13 fields
pub frame_idx: u64,
pub decision: BudgetDecision,
pub controller_decision: BudgetDecision,
pub degradation_before: DegradationLevel,
pub degradation_after: DegradationLevel,
pub frame_time_us: f64,
pub budget_us: f64,
pub pid_output: f64,
pub e_value: f64,
pub frames_observed: u32,
pub frames_since_change: u32,
pub in_warmup: bool,
pub conformal: Option<ConformalSnapshot>,
}Expand description
Snapshot of the most recent budget decision.
Fields§
§frame_idx: u64§decision: BudgetDecision§controller_decision: BudgetDecision§degradation_before: DegradationLevel§degradation_after: DegradationLevel§frame_time_us: f64§budget_us: f64§pid_output: f64§e_value: f64§frames_observed: u32§frames_since_change: u32§in_warmup: bool§conformal: Option<ConformalSnapshot>Trait Implementations§
Source§impl Clone for BudgetDecisionSnapshot
impl Clone for BudgetDecisionSnapshot
Source§fn clone(&self) -> BudgetDecisionSnapshot
fn clone(&self) -> BudgetDecisionSnapshot
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 BudgetDecisionSnapshot
impl RefUnwindSafe for BudgetDecisionSnapshot
impl Send for BudgetDecisionSnapshot
impl Sync for BudgetDecisionSnapshot
impl Unpin for BudgetDecisionSnapshot
impl UnsafeUnpin for BudgetDecisionSnapshot
impl UnwindSafe for BudgetDecisionSnapshot
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