Enum dbs_arch::VpmuFeatureLevel
source · pub enum VpmuFeatureLevel {
Disabled,
LimitedlyEnabled,
FullyEnabled,
}Expand description
Enum indicating vpmu feature level
Variants§
Disabled
Disabled means vpmu feature is off (by default)
LimitedlyEnabled
LimitedlyEnabled means minimal vpmu counters are supported( only cycles and instructions ) For aarch64, LimitedlyEnabled isn’t supported currently. The ability will be implemented in the future.
FullyEnabled
FullyEnabled means all vpmu counters are supported
Trait Implementations§
source§impl Clone for VpmuFeatureLevel
impl Clone for VpmuFeatureLevel
source§fn clone(&self) -> VpmuFeatureLevel
fn clone(&self) -> VpmuFeatureLevel
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 VpmuFeatureLevel
impl Debug for VpmuFeatureLevel
source§impl PartialEq<VpmuFeatureLevel> for VpmuFeatureLevel
impl PartialEq<VpmuFeatureLevel> for VpmuFeatureLevel
source§fn eq(&self, other: &VpmuFeatureLevel) -> bool
fn eq(&self, other: &VpmuFeatureLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.