Struct nvapi_hi::sys::gpu::pstate::NV_GPU_PERF_PSTATES20_INFO_V2
[−]
[src]
#[repr(C)]pub struct NV_GPU_PERF_PSTATES20_INFO_V2 { pub v1: NV_GPU_PERF_PSTATES20_INFO_V1, pub numVoltages: u32, pub voltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4], }
Used in NvAPI_GPU_GetPstates20() interface call.
Fields
v1: NV_GPU_PERF_PSTATES20_INFO_V1
numVoltages: u32
Number of populated voltages
voltages: [NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1; 4]
OV settings - Please refer to NVIDIA over-volting recommendation to understand impact of this functionality Valid index range is 0 to numVoltages-1
Methods
impl NV_GPU_PERF_PSTATES20_INFO_V2
[src]
pub fn zeroed() -> NV_GPU_PERF_PSTATES20_INFO_V2
[src]
Methods from Deref<Target = NV_GPU_PERF_PSTATES20_INFO_V1>
Trait Implementations
impl RawConversion for NV_GPU_PERF_PSTATES20_INFO_V2
[src]
type Target = PStates
type Error = ArgumentRangeError
fn convert_raw(
&self
) -> Result<<NV_GPU_PERF_PSTATES20_INFO_V2 as RawConversion>::Target, <NV_GPU_PERF_PSTATES20_INFO_V2 as RawConversion>::Error>
[src]
&self
) -> Result<<NV_GPU_PERF_PSTATES20_INFO_V2 as RawConversion>::Target, <NV_GPU_PERF_PSTATES20_INFO_V2 as RawConversion>::Error>
impl Debug for NV_GPU_PERF_PSTATES20_INFO_V2
[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_INFO_V2
[src]
impl Clone for NV_GPU_PERF_PSTATES20_INFO_V2
[src]
fn clone(&self) -> NV_GPU_PERF_PSTATES20_INFO_V2
[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