Struct nvapi_hi::sys::gpu::clock::private::NV_USAGES_INFO_V1
[−]
[src]
#[repr(C)]pub struct NV_USAGES_INFO_V1 { pub version: u32, pub flags: u32, pub usages: [NV_USAGES_INFO_USAGE; 8], }
Fields
version: u32
flags: u32
usages: [NV_USAGES_INFO_USAGE; 8]
(core_usage, memory_usage, video_engine_usage), probably indexed by NV_GPU_UTILIZATION_DOMAIN_ID
Methods
impl NV_USAGES_INFO_V1
[src]
pub fn zeroed() -> NV_USAGES_INFO_V1
[src]
Trait Implementations
impl RawConversion for NV_USAGES_INFO_V1
[src]
type Target = BTreeMap<UtilizationDomain, Percentage>
type Error = ArgumentRangeError
fn convert_raw(
&self
) -> Result<<NV_USAGES_INFO_V1 as RawConversion>::Target, <NV_USAGES_INFO_V1 as RawConversion>::Error>
[src]
&self
) -> Result<<NV_USAGES_INFO_V1 as RawConversion>::Target, <NV_USAGES_INFO_V1 as RawConversion>::Error>
impl Debug for NV_USAGES_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_USAGES_INFO_V1
[src]
impl Clone for NV_USAGES_INFO_V1
[src]
fn clone(&self) -> NV_USAGES_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