Struct nvapi_hi::sys::gpu::pstate::NV_GPU_PERF_PSTATES20_PSTATE
[−]
[src]
#[repr(C)]pub struct NV_GPU_PERF_PSTATES20_PSTATE { pub pstateId: i32, pub bIsEditable: BoolU32, pub clocks: [NV_GPU_PSTATE20_CLOCK_ENTRY_V1; 8], pub baseVoltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4], }
Performance state (P-State) settings
Fields
pstateId: i32
ID of the P-State
bIsEditable: BoolU32
Value must be 0 or 1. These bits are reserved for future use (must be always 0)
clocks: [NV_GPU_PSTATE20_CLOCK_ENTRY_V1; 8]
Array of clock entries Valid index range is 0 to numClocks-1
baseVoltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4]
Array of baseVoltage entries Valid index range is 0 to numBaseVoltages-1
Methods
impl NV_GPU_PERF_PSTATES20_PSTATE
[src]
pub fn zeroed() -> NV_GPU_PERF_PSTATES20_PSTATE
[src]
Trait Implementations
impl Debug for NV_GPU_PERF_PSTATES20_PSTATE
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Copy for NV_GPU_PERF_PSTATES20_PSTATE
[src]
impl Clone for NV_GPU_PERF_PSTATES20_PSTATE
[src]
fn clone(&self) -> NV_GPU_PERF_PSTATES20_PSTATE
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more