Struct nvapi_hi::sys::gpu::power::private::NV_GPU_PERF_STATUS_V1
[−]
[src]
#[repr(C)]pub struct NV_GPU_PERF_STATUS_V1 { pub version: u32, pub flags: u32, pub timer: u64, pub limits: u32, pub zero0: u32, pub unknown: u32, pub zero1: u32, pub timers: [u64; 3], pub padding: Array<[u32; 326]>, }
Fields
version: u32
flags: u32
timer: u64
nanoseconds
limits: u32
- 1 = power limit
- 2 = temp limit
- 4 = voltage limit
- 8 = only got with 15 in driver crash
- 16 = no-load limit
zero0: u32
unknown: u32
- 1 on load
- 3 in low clocks
- 7 in idle
zero1: u32
timers: [u64; 3]
nanoseconds
padding: Array<[u32; 326]>
Methods
impl NV_GPU_PERF_STATUS_V1
[src]
pub fn zeroed() -> NV_GPU_PERF_STATUS_V1
[src]
Trait Implementations
impl RawConversion for NV_GPU_PERF_STATUS_V1
[src]
type Target = PerfStatus
type Error = ArgumentRangeError
fn convert_raw(
&self
) -> Result<<NV_GPU_PERF_STATUS_V1 as RawConversion>::Target, <NV_GPU_PERF_STATUS_V1 as RawConversion>::Error>
[src]
&self
) -> Result<<NV_GPU_PERF_STATUS_V1 as RawConversion>::Target, <NV_GPU_PERF_STATUS_V1 as RawConversion>::Error>
impl Debug for NV_GPU_PERF_STATUS_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_STATUS_V1
[src]
impl Clone for NV_GPU_PERF_STATUS_V1
[src]
fn clone(&self) -> NV_GPU_PERF_STATUS_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