Struct amdgpu_sysfs::gpu_handle::overdrive::ClocksLevel
source · pub struct ClocksLevel {
pub clockspeed: u32,
pub voltage: u32,
}Expand description
Represents a combination of a clockspeed and voltage. May be used in different context based on the table format.
Fields§
§clockspeed: u32Clockspeed (in MHz)
voltage: u32Voltage (in mV)
Implementations§
Trait Implementations§
source§impl Clone for ClocksLevel
impl Clone for ClocksLevel
source§fn clone(&self) -> ClocksLevel
fn clone(&self) -> ClocksLevel
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 ClocksLevel
impl Debug for ClocksLevel
source§impl PartialEq<ClocksLevel> for ClocksLevel
impl PartialEq<ClocksLevel> for ClocksLevel
source§fn eq(&self, other: &ClocksLevel) -> bool
fn eq(&self, other: &ClocksLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.