pub struct IProfiler { /* private fields */ }Implementations§
Source§impl IProfiler
impl IProfiler
Sourcepub unsafe fn reportLayerTime(
self: Pin<&mut IProfiler>,
layerName: *const c_char,
ms: f32,
)
pub unsafe fn reportLayerTime( self: Pin<&mut IProfiler>, layerName: *const c_char, ms: f32, )
Layer time reporting callback.
layerNameThe name of the layer, set when constructing the network definition. If the engine is built with profiling verbosity set to kNONE, the layerName is the decimal index of the layer.msThe time in milliseconds to execute the layer.
Trait Implementations§
Source§impl ExternType for IProfiler
impl ExternType for IProfiler
Source§impl MakeCppStorage for IProfiler
impl MakeCppStorage for IProfiler
impl UniquePtrTarget for IProfiler
impl WeakPtrTarget for IProfiler
Auto Trait Implementations§
impl !Freeze for IProfiler
impl RefUnwindSafe for IProfiler
impl !Send for IProfiler
impl !Sync for IProfiler
impl !Unpin for IProfiler
impl UnsafeUnpin for IProfiler
impl UnwindSafe for IProfiler
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