Skip to main content

percpu

Struct percpu 

Source
#[repr(C, align(64))]
pub struct percpu {
Show 17 fields pub timer_queue: TimerQueue, pub search_set: CpuSearchSet, pub scheduler: Scheduler, pub active_cl_transaction: *mut ChainLockTransaction, pub chain_lock_conflict_id: __BindgenOpaqueArray8<[u8; 8]>, pub gstats: guest_stats, pub stats: cpu_stats, pub __bindgen_padding_0: [u8; 8], pub idle_power_thread: IdlePowerThread, pub counters: *mut i64, pub dpc_runner: DpcRunner, pub vm_page_counts: vm_page_counts_t, pub lockup_detector_timer: Timer, pub sampling_timer: Timer, pub memory_stall_accumulator: StallAccumulator, pub resume_state: PlatformCpuResumeState, pub __bindgen_padding_1: [u8; 7],
}

Fields§

§timer_queue: TimerQueue§search_set: CpuSearchSet§scheduler: Scheduler§active_cl_transaction: *mut ChainLockTransaction§chain_lock_conflict_id: __BindgenOpaqueArray8<[u8; 8]>§gstats: guest_stats§stats: cpu_stats§__bindgen_padding_0: [u8; 8]§idle_power_thread: IdlePowerThread§counters: *mut i64§dpc_runner: DpcRunner§vm_page_counts: vm_page_counts_t§lockup_detector_timer: Timer§sampling_timer: Timer§memory_stall_accumulator: StallAccumulator§resume_state: PlatformCpuResumeState§__bindgen_padding_1: [u8; 7]

Auto Trait Implementations§

§

impl !Send for percpu

§

impl !Sync for percpu

§

impl Freeze for percpu

§

impl RefUnwindSafe for percpu

§

impl Unpin for percpu

§

impl UnsafeUnpin for percpu

§

impl UnwindSafe for percpu

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = !

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.