pub struct McTimingBreakdown {
pub sampler_us: u64,
pub sample_reset_us: u64,
pub sample_build_us: u64,
pub eval_us: u64,
pub count_us: u64,
}Expand description
Breakdown of time spent in each phase of MC evaluation.
Gate with XLOG_MC_PROFILE=1 to print at the end of evaluation.
Fields§
§sampler_us: u64§sample_reset_us: u64§sample_build_us: u64§eval_us: u64§count_us: u64Implementations§
Trait Implementations§
Source§impl Clone for McTimingBreakdown
impl Clone for McTimingBreakdown
Source§fn clone(&self) -> McTimingBreakdown
fn clone(&self) -> McTimingBreakdown
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 McTimingBreakdown
impl Debug for McTimingBreakdown
Source§impl Default for McTimingBreakdown
impl Default for McTimingBreakdown
Source§fn default() -> McTimingBreakdown
fn default() -> McTimingBreakdown
Returns the “default value” for a type. Read more
Source§impl PartialEq for McTimingBreakdown
impl PartialEq for McTimingBreakdown
impl Copy for McTimingBreakdown
impl Eq for McTimingBreakdown
impl StructuralPartialEq for McTimingBreakdown
Auto Trait Implementations§
impl Freeze for McTimingBreakdown
impl RefUnwindSafe for McTimingBreakdown
impl Send for McTimingBreakdown
impl Sync for McTimingBreakdown
impl Unpin for McTimingBreakdown
impl UnsafeUnpin for McTimingBreakdown
impl UnwindSafe for McTimingBreakdown
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more