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