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