#[repr(C)]pub struct PERFORMANCE_DATA {
pub Size: u16,
pub Version: u8,
pub HwCountersCount: u8,
pub ContextSwitchCount: u32,
pub WaitReasonBitMap: u64,
pub CycleTime: u64,
pub RetryCount: u32,
pub Reserved: u32,
pub HwCounters: [HARDWARE_COUNTER_DATA; 16],
}
Fields§
§Size: u16
§Version: u8
§HwCountersCount: u8
§ContextSwitchCount: u32
§WaitReasonBitMap: u64
§CycleTime: u64
§RetryCount: u32
§Reserved: u32
§HwCounters: [HARDWARE_COUNTER_DATA; 16]
Trait Implementations§
§impl Clone for PERFORMANCE_DATA
impl Clone for PERFORMANCE_DATA
§fn clone(&self) -> PERFORMANCE_DATA
fn clone(&self) -> PERFORMANCE_DATA
Returns a copy 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 moreimpl Copy for PERFORMANCE_DATA
Auto Trait Implementations§
impl Freeze for PERFORMANCE_DATA
impl RefUnwindSafe for PERFORMANCE_DATA
impl Send for PERFORMANCE_DATA
impl Sync for PERFORMANCE_DATA
impl Unpin for PERFORMANCE_DATA
impl UnwindSafe for PERFORMANCE_DATA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)