pub struct Trace {
pub phases: Vec<(Phase, Duration)>,
pub counters: Vec<(&'static str, u64)>,
}Expand description
What a Collector recorded.
Fields§
§phases: Vec<(Phase, Duration)>Wall-clock time per phase, in the order each phase first ended. A phase that ends more than once (a lap per permutation, say) is summed.
counters: Vec<(&'static str, u64)>Named counters, sorted by name. The memory-bounded build records
chunks, sort_runs, merge_passes and scratch_peak_bytes.
Implementations§
Trait Implementations§
impl Eq for Trace
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl Freeze for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
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