Struct nvapi_hi::sys::gpu::pstate::NV_GPU_DYNAMIC_PSTATES_INFO_EX
[−]
[src]
#[repr(C)]pub struct NV_GPU_DYNAMIC_PSTATES_INFO_EX { pub version: u32, pub flags: u32, pub utilization: [NV_GPU_DYNAMIC_PSTATES_INFO_EX_UTILIZATION; 8], }
Used in NvAPI_GPU_GetDynamicPstatesInfoEx().
Fields
version: u32
Structure version
flags: u32
bit 0 indicates if the dynamic Pstate is enabled or not
utilization: [NV_GPU_DYNAMIC_PSTATES_INFO_EX_UTILIZATION; 8]
Methods
impl NV_GPU_DYNAMIC_PSTATES_INFO_EX
[src]
pub fn flag_enabled(&self) -> bool
[src]
impl NV_GPU_DYNAMIC_PSTATES_INFO_EX
[src]
pub fn zeroed() -> NV_GPU_DYNAMIC_PSTATES_INFO_EX
[src]
Trait Implementations
impl RawConversion for NV_GPU_DYNAMIC_PSTATES_INFO_EX
[src]
type Target = BTreeMap<UtilizationDomain, Percentage>
type Error = ArgumentRangeError
fn convert_raw(
&self
) -> Result<<NV_GPU_DYNAMIC_PSTATES_INFO_EX as RawConversion>::Target, <NV_GPU_DYNAMIC_PSTATES_INFO_EX as RawConversion>::Error>
[src]
&self
) -> Result<<NV_GPU_DYNAMIC_PSTATES_INFO_EX as RawConversion>::Target, <NV_GPU_DYNAMIC_PSTATES_INFO_EX as RawConversion>::Error>
impl Debug for NV_GPU_DYNAMIC_PSTATES_INFO_EX
[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_DYNAMIC_PSTATES_INFO_EX
[src]
impl Clone for NV_GPU_DYNAMIC_PSTATES_INFO_EX
[src]
fn clone(&self) -> NV_GPU_DYNAMIC_PSTATES_INFO_EX
[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