pub struct TraceConfig {
pub max_entries: usize,
pub auto_snapshot: bool,
pub snapshot_sampling: Option<VoiConfig>,
pub snapshot_change_threshold: usize,
pub seed: u64,
}Expand description
Configuration for the schedule trace.
Fields§
§max_entries: usizeMaximum entries to retain (0 = unlimited).
auto_snapshot: boolInclude queue snapshots after each event.
If snapshot_sampling is set, snapshots are sampled via VOI.
snapshot_sampling: Option<VoiConfig>Optional VOI sampling policy for queue snapshots.
snapshot_change_threshold: usizeMinimum absolute queue delta to mark a snapshot as “violated”.
seed: u64Seed for deterministic tie-breaking.
Trait Implementations§
Source§impl Clone for TraceConfig
impl Clone for TraceConfig
Source§fn clone(&self) -> TraceConfig
fn clone(&self) -> TraceConfig
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 TraceConfig
impl Debug for TraceConfig
Auto Trait Implementations§
impl Freeze for TraceConfig
impl RefUnwindSafe for TraceConfig
impl Send for TraceConfig
impl Sync for TraceConfig
impl Unpin for TraceConfig
impl UnsafeUnpin for TraceConfig
impl UnwindSafe for TraceConfig
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