pub struct RegAllocProfiler { /* private fields */ }Expand description
Pipeline profiler for RegAlloc.
Implementations§
Source§impl RegAllocProfiler
impl RegAllocProfiler
pub fn new() -> Self
pub fn record(&mut self, t: RegAllocPassTiming)
pub fn total_elapsed_us(&self) -> u64
pub fn slowest_pass(&self) -> Option<&RegAllocPassTiming>
pub fn num_passes(&self) -> usize
pub fn profitable_passes(&self) -> Vec<&RegAllocPassTiming>
Trait Implementations§
Source§impl Debug for RegAllocProfiler
impl Debug for RegAllocProfiler
Source§impl Default for RegAllocProfiler
impl Default for RegAllocProfiler
Source§fn default() -> RegAllocProfiler
fn default() -> RegAllocProfiler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegAllocProfiler
impl RefUnwindSafe for RegAllocProfiler
impl Send for RegAllocProfiler
impl Sync for RegAllocProfiler
impl Unpin for RegAllocProfiler
impl UnsafeUnpin for RegAllocProfiler
impl UnwindSafe for RegAllocProfiler
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