pub enum IpSkidConstraint {
ArbitrarySkid,
ConstantSkid,
ZeroSkid,
ZeroSkidOrRandomization,
}
Expand description
Specifies how precise the instruction address should be.
With perf record -e
you can set the precision by appending /p to the
event name, with varying numbers of p
s.
Variants§
ArbitrarySkid
0 - SAMPLE_IP can have arbitrary skid
ConstantSkid
1 - SAMPLE_IP must have constant skid
ZeroSkid
2 - SAMPLE_IP requested to have 0 skid
ZeroSkidOrRandomization
3 - SAMPLE_IP must have 0 skid, or uses randomization to avoid sample shadowing effects.
Trait Implementations§
source§impl Clone for IpSkidConstraint
impl Clone for IpSkidConstraint
source§fn clone(&self) -> IpSkidConstraint
fn clone(&self) -> IpSkidConstraint
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 IpSkidConstraint
impl Debug for IpSkidConstraint
source§impl Hash for IpSkidConstraint
impl Hash for IpSkidConstraint
source§impl Ord for IpSkidConstraint
impl Ord for IpSkidConstraint
source§fn cmp(&self, other: &IpSkidConstraint) -> Ordering
fn cmp(&self, other: &IpSkidConstraint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IpSkidConstraint
impl PartialEq for IpSkidConstraint
source§fn eq(&self, other: &IpSkidConstraint) -> bool
fn eq(&self, other: &IpSkidConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IpSkidConstraint
impl PartialOrd for IpSkidConstraint
source§fn partial_cmp(&self, other: &IpSkidConstraint) -> Option<Ordering>
fn partial_cmp(&self, other: &IpSkidConstraint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IpSkidConstraint
impl Eq for IpSkidConstraint
impl StructuralPartialEq for IpSkidConstraint
Auto Trait Implementations§
impl RefUnwindSafe for IpSkidConstraint
impl Send for IpSkidConstraint
impl Sync for IpSkidConstraint
impl Unpin for IpSkidConstraint
impl UnwindSafe for IpSkidConstraint
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