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