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