pub struct History { /* private fields */ }Expand description
Keep one history per workload, hardware and executor configuration.
Implementations§
Source§impl History
impl History
Sourcepub fn live_probes(&mut self, probe_joins: bool, censor: bool)
pub fn live_probes(&mut self, probe_joins: bool, censor: bool)
Experimental policy. Probe high fan-in/fan-out joins on the accelerator and use the age of unfinished work as a temporary cost floor.
Sourcepub fn freeze(&mut self)
pub fn freeze(&mut self)
Freeze predictions for a controlled comparison. Explicit observations can be added before freezing. A frozen model supplies estimates but ignores completions.
pub fn observe( &mut self, class: u64, bytes: usize, backend: Backend, elapsed: Duration, )
pub fn observe_startup(&mut self, backend: Backend, elapsed: Duration)
Trait Implementations§
Auto Trait Implementations§
impl Forget for History
impl Freeze for History
impl Move for History
impl RefUnwindSafe for History
impl Send for History
impl Sync for History
impl Unpin for History
impl UnsafeUnpin for History
impl UnwindSafe for History
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