pub struct CompilerPassStats {
pub pass_id: CompilerPassId,
pub wall_time: Duration,
pub nodes_before: u64,
pub nodes_after: u64,
pub reductions: u64,
}Expand description
Timing and reduction statistics for a single pass execution.
Fields§
§pass_id: CompilerPassIdWhich pass produced these stats.
wall_time: DurationWall-clock time spent in this pass.
nodes_before: u64Node count immediately before the pass ran.
nodes_after: u64Node count immediately after the pass completed.
reductions: u64Number of reductions (folds, eliminations, inlines, rewrites, …).
Implementations§
Trait Implementations§
Source§impl Clone for CompilerPassStats
impl Clone for CompilerPassStats
Source§fn clone(&self) -> CompilerPassStats
fn clone(&self) -> CompilerPassStats
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 moreAuto Trait Implementations§
impl Freeze for CompilerPassStats
impl RefUnwindSafe for CompilerPassStats
impl Send for CompilerPassStats
impl Sync for CompilerPassStats
impl Unpin for CompilerPassStats
impl UnsafeUnpin for CompilerPassStats
impl UnwindSafe for CompilerPassStats
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