[][src]Struct nvapi_sys::gpu::pstate::NV_GPU_PERF_PSTATES20_INFO_V1

#[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: BoolU32numPstates: 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

Implementations

impl NV_GPU_PERF_PSTATES20_INFO_V1[src]

pub fn zeroed() -> Self[src]

Trait Implementations

impl Clone for NV_GPU_PERF_PSTATES20_INFO_V1[src]

impl Copy for NV_GPU_PERF_PSTATES20_INFO_V1[src]

impl Debug for NV_GPU_PERF_PSTATES20_INFO_V1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.