pub struct KernelTimestamps { /* private fields */ }Expand description
A simple struct to keep track of timestamps for kernel execution. This should be used for servers that do not have native device profiling.
Implementations§
Source§impl KernelTimestamps
impl KernelTimestamps
Sourcepub fn stop(&mut self) -> ProfileDuration
pub fn stop(&mut self) -> ProfileDuration
Stop measuring
Trait Implementations§
Source§impl Debug for KernelTimestamps
impl Debug for KernelTimestamps
Source§impl Default for KernelTimestamps
impl Default for KernelTimestamps
Source§fn default() -> KernelTimestamps
fn default() -> KernelTimestamps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KernelTimestamps
impl RefUnwindSafe for KernelTimestamps
impl Send for KernelTimestamps
impl Sync for KernelTimestamps
impl Unpin for KernelTimestamps
impl UnwindSafe for KernelTimestamps
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