Struct furiosa_smi_rs::PePerformanceCounter
source · pub struct PePerformanceCounter { /* private fields */ }
Expand description
A struct for PE performance counter
Implementations§
source§impl PePerformanceCounter
impl PePerformanceCounter
sourcepub fn timestamp(&self) -> SystemTime
pub fn timestamp(&self) -> SystemTime
Returns a timestamp of the performance counter.
sourcepub fn cycle_count(&self) -> u64
pub fn cycle_count(&self) -> u64
Returns a cycle count of the performance counter.
sourcepub fn task_execution_cycle(&self) -> u64
pub fn task_execution_cycle(&self) -> u64
Returns a task execution cycle of the performance counter.
Auto Trait Implementations§
impl Freeze for PePerformanceCounter
impl RefUnwindSafe for PePerformanceCounter
impl Send for PePerformanceCounter
impl Sync for PePerformanceCounter
impl Unpin for PePerformanceCounter
impl UnwindSafe for PePerformanceCounter
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