Struct nvapi_hi::sys::gpu::pstate::NV_GPU_PERF_PSTATES20_INFO_V1
[−]
[src]
#[repr(C)]pub struct NV_GPU_PERF_PSTATES20_INFO_V1 { pub version: u32, pub bIsEditable: BoolU32, pub numPstates: u32, pub numClocks: u32, pub numBaseVoltages: u32, pub pstates: [NV_GPU_PERF_PSTATES20_PSTATE; 16], }
Used in NvAPI_GPU_GetPstates20() interface call.
Fields
version: u32
Version info of the structure (NV_GPU_PERF_PSTATES20_INFO_VER
bIsEditable: BoolU32
numPstates: u32
Number of populated pstates
numClocks: u32
Number of populated clocks (per pstate)
numBaseVoltages: u32
Number of populated base voltages (per pstate)
pstates: [NV_GPU_PERF_PSTATES20_PSTATE; 16]
Performance state (P-State) settings Valid index range is 0 to numPstates-1
Methods
impl NV_GPU_PERF_PSTATES20_INFO_V1
[src]
pub fn zeroed() -> NV_GPU_PERF_PSTATES20_INFO_V1
[src]
Trait Implementations
impl Debug for NV_GPU_PERF_PSTATES20_INFO_V1
[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_V1
[src]
impl Clone for NV_GPU_PERF_PSTATES20_INFO_V1
[src]
fn clone(&self) -> NV_GPU_PERF_PSTATES20_INFO_V1
[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