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.
Trait Implementations§
source§impl Clone for PePerformanceCounter
impl Clone for PePerformanceCounter
source§fn clone(&self) -> PePerformanceCounter
fn clone(&self) -> PePerformanceCounter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PePerformanceCounter
impl Debug for PePerformanceCounter
impl Copy for PePerformanceCounter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)