pub struct Bench {
pub checks: usize,
pub load: Times,
pub decide: Times,
pub total: Times,
pub model: bool,
}Expand description
borg debug select --bench: per graded check of the log that applies a lesson, the time the hook
spends selecting after its model call. load is select/summary.rs refresh of a cache that holds the
whole log, as a hook finds it; decide is select.rs graded_under under the learned policy with the
log’s fit and its gate open (allowance and ledger set), so every path a check can take runs: the
evidence test over the joint draws, the question-count test’s admission. The worst case, not the
store’s state.
Fields§
§checks: usize§load: Times§decide: Times§total: Times§model: boolWhether the fit had a model: without one the decision is the fixed rule’s and costs nothing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bench
impl RefUnwindSafe for Bench
impl Send for Bench
impl Sync for Bench
impl Unpin for Bench
impl UnsafeUnpin for Bench
impl UnwindSafe for Bench
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