pub struct IProfiler { /* private fields */ }Implementations§
Source§impl IProfiler
impl IProfiler
Sourcepub fn getInterfaceInfo<'a>(
self: &'a IProfiler,
) -> impl New<Output = InterfaceInfo> + 'a
pub fn getInterfaceInfo<'a>( self: &'a IProfiler, ) -> impl New<Output = InterfaceInfo> + 'a
Return version information associated with this interface. Applications must not override this method.
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 AsRef<IVersionedInterface> for IProfiler
impl AsRef<IVersionedInterface> for IProfiler
Source§fn as_ref(self: &IProfiler) -> &IVersionedInterface
fn as_ref(self: &IProfiler) -> &IVersionedInterface
Converts this type into a shared reference of the (usually inferred) input type.
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