pub enum PerformancePolicy {
Power,
Thermal,
SyncBoost,
BoardLimit,
LowUtilization,
Reliability,
TotalAppClocks,
TotalBaseClocks,
}
Expand description
Types of performance policy for which violation times can be queried.
Variants§
Power
Thermal
SyncBoost
BoardLimit
LowUtilization
Reliability
Board reliability limit.
TotalAppClocks
Total time the GPU was limited by any of the above.
TotalBaseClocks
Total time the GPU was held below base clocks.
Implementations§
Source§impl PerformancePolicy
impl PerformancePolicy
Sourcepub fn as_c(&self) -> nvmlPerfPolicyType_enum
pub fn as_c(&self) -> nvmlPerfPolicyType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
Source§impl Clone for PerformancePolicy
impl Clone for PerformancePolicy
Source§fn clone(&self) -> PerformancePolicy
fn clone(&self) -> PerformancePolicy
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 PerformancePolicy
impl Debug for PerformancePolicy
Source§impl Hash for PerformancePolicy
impl Hash for PerformancePolicy
Source§impl PartialEq for PerformancePolicy
impl PartialEq for PerformancePolicy
Source§impl TryFrom<u32> for PerformancePolicy
impl TryFrom<u32> for PerformancePolicy
impl Eq for PerformancePolicy
impl StructuralPartialEq for PerformancePolicy
Auto Trait Implementations§
impl Freeze for PerformancePolicy
impl RefUnwindSafe for PerformancePolicy
impl Send for PerformancePolicy
impl Sync for PerformancePolicy
impl Unpin for PerformancePolicy
impl UnwindSafe for PerformancePolicy
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