#[repr(C)]pub struct rq {Show 98 fields
pub nr_running: u32,
pub nr_numa_running: u32,
pub nr_preferred_running: u32,
pub ttwu_pending: u32,
pub cpu_capacity: u64,
pub __anon_rq_1: __anon_rq_1,
pub idle: *mut task_struct,
pub __pad_40: [u8; 24],
pub nr_switches: u64,
pub __lock: raw_spinlock,
pub nohz_tick_stopped: u32,
pub nohz_flags: __anon_refcount_struct_1,
pub has_blocked_load: u32,
pub last_blocked_load_update_tick: u64,
pub nohz_csd: __call_single_data,
pub cfs: cfs_rq,
pub rt: rt_rq,
pub dl: dl_rq,
pub scx: scx_rq,
pub ext_server: sched_dl_entity,
pub __pad_4392: [u8; 16],
pub cpu_epoch_lock: raw_spinlock,
pub __pad_4412: [u8; 4],
pub cpu_runtime: u64,
pub cpu_epoch: u64,
pub cpu_epoch_next: u64,
pub fair_server: sched_dl_entity,
pub leaf_cfs_rq_list: list_head,
pub tmp_alone_branch: *mut list_head,
pub numa_migrate_on: u32,
pub nr_pref_llc_running: u32,
pub nr_llc_running: u32,
pub __pad_4748: [u8; 4],
pub nr_uninterruptible: u64,
pub dl_server: *mut sched_dl_entity,
pub stop: *mut task_struct,
pub next_class: *mut sched_class,
pub next_balance: u64,
pub prev_mm: *mut c_void,
pub __pad_4800: [u8; 56],
pub clock_task: u64,
pub clock_pelt: u64,
pub clock: u64,
pub lost_idle_time: u64,
pub clock_update_flags: u32,
pub __pad_4892: [u8; 4],
pub clock_pelt_idle: u64,
pub clock_idle: u64,
pub last_seen_need_resched_ns: u64,
pub ticks_without_resched: i32,
pub membarrier_state: i32,
pub rd: *mut c_void,
pub sd: *mut c_void,
pub balance_callback: *mut balance_callback,
pub nohz_idle_balance: u8,
pub idle_balance: u8,
pub __pad_4954: [u8; 6],
pub misfit_task_load: u64,
pub active_balance: i32,
pub push_cpu: i32,
pub active_balance_work: cpu_stop_work,
pub cpu: i32,
pub online: i32,
pub cfs_tasks: list_head,
pub avg_rt: sched_avg,
pub avg_dl: sched_avg,
pub idle_stamp: u64,
pub avg_idle: u64,
pub max_idle_balance_cost: u64,
pub hotplug_wait: rcuwait,
pub prev_steal_time: u64,
pub calc_load_update: u64,
pub calc_load_active: i64,
pub __pad_5232: [u8; 8],
pub hrtick_csd: __call_single_data,
pub hrtick_timer: hrtimer,
pub hrtick_time: i64,
pub hrtick_delay: i64,
pub hrtick_sched: u32,
pub __pad_5372: [u8; 4],
pub rq_sched_info: sched_info,
pub rq_cpu_time: u64,
pub yld_count: u32,
pub sched_count: u32,
pub sched_goidle: u32,
pub ttwu_count: u32,
pub ttwu_local: u32,
pub __pad_5468: [u8; 4],
pub idle_state: *mut c_void,
pub nr_pinned: u32,
pub push_busy: u32,
pub push_work: cpu_stop_work,
pub scratch_mask: [cpumask; 1],
pub __pad_6560: [u8; 16],
pub cfsb_csd: __call_single_data,
pub cfsb_csd_list: list_head,
pub nr_iowait: __anon_refcount_struct_1,
pub __pad_6628: [u8; 12],
}Fields§
§nr_running: u32§nr_numa_running: u32§nr_preferred_running: u32§ttwu_pending: u32§cpu_capacity: u64§__anon_rq_1: __anon_rq_1§idle: *mut task_struct§__pad_40: [u8; 24]§nr_switches: u64§__lock: raw_spinlock§nohz_tick_stopped: u32§nohz_flags: __anon_refcount_struct_1§has_blocked_load: u32§last_blocked_load_update_tick: u64§nohz_csd: __call_single_data§cfs: cfs_rq§rt: rt_rq§dl: dl_rq§scx: scx_rq§ext_server: sched_dl_entity§__pad_4392: [u8; 16]§cpu_epoch_lock: raw_spinlock§__pad_4412: [u8; 4]§cpu_runtime: u64§cpu_epoch: u64§cpu_epoch_next: u64§fair_server: sched_dl_entity§leaf_cfs_rq_list: list_head§tmp_alone_branch: *mut list_head§numa_migrate_on: u32§nr_pref_llc_running: u32§nr_llc_running: u32§__pad_4748: [u8; 4]§nr_uninterruptible: u64§dl_server: *mut sched_dl_entity§stop: *mut task_struct§next_class: *mut sched_class§next_balance: u64§prev_mm: *mut c_void§__pad_4800: [u8; 56]§clock_task: u64§clock_pelt: u64§clock: u64§lost_idle_time: u64§clock_update_flags: u32§__pad_4892: [u8; 4]§clock_pelt_idle: u64§clock_idle: u64§last_seen_need_resched_ns: u64§ticks_without_resched: i32§membarrier_state: i32§rd: *mut c_void§sd: *mut c_void§balance_callback: *mut balance_callback§nohz_idle_balance: u8§idle_balance: u8§__pad_4954: [u8; 6]§misfit_task_load: u64§active_balance: i32§push_cpu: i32§active_balance_work: cpu_stop_work§cpu: i32§online: i32§cfs_tasks: list_head§avg_rt: sched_avg§avg_dl: sched_avg§idle_stamp: u64§avg_idle: u64§max_idle_balance_cost: u64§hotplug_wait: rcuwait§prev_steal_time: u64§calc_load_update: u64§calc_load_active: i64§__pad_5232: [u8; 8]§hrtick_csd: __call_single_data§hrtick_timer: hrtimer§hrtick_time: i64§hrtick_delay: i64§hrtick_sched: u32§__pad_5372: [u8; 4]§rq_sched_info: sched_info§rq_cpu_time: u64§yld_count: u32§sched_count: u32§sched_goidle: u32§ttwu_count: u32§ttwu_local: u32§__pad_5468: [u8; 4]§idle_state: *mut c_void§nr_pinned: u32§push_busy: u32§push_work: cpu_stop_work§scratch_mask: [cpumask; 1]§__pad_6560: [u8; 16]§cfsb_csd: __call_single_data§cfsb_csd_list: list_head§nr_iowait: __anon_refcount_struct_1§__pad_6628: [u8; 12]Trait Implementations§
Auto Trait Implementations§
impl !Send for rq
impl !Sync for rq
impl Freeze for rq
impl RefUnwindSafe for rq
impl Unpin for rq
impl UnsafeUnpin for rq
impl UnwindSafe for rq
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,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.