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