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§fn eq(&self, other: &PerformancePolicy) -> bool
fn eq(&self, other: &PerformancePolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for PerformancePolicy
impl TryFrom<u32> for PerformancePolicy
impl Eq for PerformancePolicy
impl StructuralPartialEq for PerformancePolicy
Auto Trait Implementations§
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