pub struct PerfCounters {
pub instructions_counter: Counter,
pub cycles_counter: Counter,
pub branch_counter: Counter,
pub branch_misses: Counter,
pub cache_misses: Counter,
pub l1i_misses: Counter,
pub stalled_frontend: Counter,
pub stalled_backend: Counter,
pub start_time: Option<Instant>,
}Expand description
Performance counter controls for fine-grained measurement
Fields§
§instructions_counter: Counter§cycles_counter: Counter§branch_counter: Counter§branch_misses: Counter§cache_misses: Counter§l1i_misses: Counter§stalled_frontend: Counter§stalled_backend: Counter§start_time: Option<Instant>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerfCounters
impl RefUnwindSafe for PerfCounters
impl Send for PerfCounters
impl Sync for PerfCounters
impl Unpin for PerfCounters
impl UnsafeUnpin for PerfCounters
impl UnwindSafe for PerfCounters
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