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