pub enum SampleSkid {
Arbitrary,
Const,
ReqZero,
Zero,
}
Expand description
Controls the amount of sample skid.
Skid is how many instructions execute between an event of interest happening and the kernel being able to stop and record the event.
Smaller skid is better and allows more accurate reporting of which events correspond to which instructions, but hardware is often limited with how small this can be.
This affects the precision of code_addr
.
Variants§
Arbitrary
Can have arbitrary skid.
Const
Must have constant skid.
ReqZero
Requested to have 0 skid.
Zero
Must have 0 skid.
Trait Implementations§
Source§impl Clone for SampleSkid
impl Clone for SampleSkid
Source§fn clone(&self) -> SampleSkid
fn clone(&self) -> SampleSkid
Returns a duplicate 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 SampleSkid
impl Debug for SampleSkid
Auto Trait Implementations§
impl Freeze for SampleSkid
impl RefUnwindSafe for SampleSkid
impl Send for SampleSkid
impl Sync for SampleSkid
impl Unpin for SampleSkid
impl UnwindSafe for SampleSkid
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