#[repr(C)]pub struct NV_GPU_PERF_STATUS_V1 {
pub version: u32,
pub flags: u32,
pub timer: u64,
pub limits: NV_GPU_PERF_FLAGS,
pub zero0: u32,
pub unknown: u32,
pub zero1: u32,
pub timers: [u64; 3],
pub padding: Array<[u32; 326]>,
}Fields§
§version: u32§flags: u32§timer: u64nanoseconds
limits: NV_GPU_PERF_FLAGS- 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]>Implementations§
Trait Implementations§
Source§impl Clone for NV_GPU_PERF_STATUS_V1
impl Clone for NV_GPU_PERF_STATUS_V1
Source§fn clone(&self) -> NV_GPU_PERF_STATUS_V1
fn clone(&self) -> NV_GPU_PERF_STATUS_V1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NV_GPU_PERF_STATUS_V1
impl Debug for NV_GPU_PERF_STATUS_V1
impl Copy for NV_GPU_PERF_STATUS_V1
Auto Trait Implementations§
impl Freeze for NV_GPU_PERF_STATUS_V1
impl RefUnwindSafe for NV_GPU_PERF_STATUS_V1
impl Send for NV_GPU_PERF_STATUS_V1
impl Sync for NV_GPU_PERF_STATUS_V1
impl Unpin for NV_GPU_PERF_STATUS_V1
impl UnwindSafe for NV_GPU_PERF_STATUS_V1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more