#[repr(C)]pub struct rq {Show 99 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_task_struct_47,
pub has_blocked_load: u32,
pub __pad_148: [u8; 4],
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 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 __pad_7460: [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_7512: [u8; 8],
pub clock_task: u64,
pub clock_pelt: u64,
pub clock: u64,
pub lost_idle_time: u64,
pub clock_update_flags: u32,
pub __pad_7556: [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_7618: [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_7896: [u8; 8],
pub hrtick_csd: __call_single_data,
pub hrtick_timer: hrtimer,
pub hrtick_time: i64,
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_8100: [u8; 4],
pub idle_state: *mut c_void,
pub nr_pinned: u32,
pub push_busy: u32,
pub push_work: cpu_stop_work,
pub core: *mut rq,
pub core_pick: *mut task_struct,
pub core_dl_server: *mut sched_dl_entity,
pub core_enabled: u32,
pub core_sched_seq: u32,
pub core_tree: rb_root,
pub core_task_seq: u32,
pub core_pick_seq: u32,
pub core_cookie: u64,
pub core_forceidle_count: u32,
pub core_forceidle_seq: u32,
pub core_forceidle_occupation: u32,
pub __pad_8236: [u8; 4],
pub core_forceidle_start: u64,
pub scratch_mask: [cpumask; 1],
pub nr_iowait: __anon_task_struct_47,
pub __pad_9276: [u8; 28],
}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_task_struct_47§has_blocked_load: u32§__pad_148: [u8; 4]§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§fair_server: sched_dl_entity§leaf_cfs_rq_list: list_head§tmp_alone_branch: *mut list_head§numa_migrate_on: u32§__pad_7460: [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_7512: [u8; 8]§clock_task: u64§clock_pelt: u64§clock: u64§lost_idle_time: u64§clock_update_flags: u32§__pad_7556: [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_7618: [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_7896: [u8; 8]§hrtick_csd: __call_single_data§hrtick_timer: hrtimer§hrtick_time: i64§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_8100: [u8; 4]§idle_state: *mut c_void§nr_pinned: u32§push_busy: u32§push_work: cpu_stop_work§core: *mut rq§core_pick: *mut task_struct§core_dl_server: *mut sched_dl_entity§core_enabled: u32§core_sched_seq: u32§core_tree: rb_root§core_task_seq: u32§core_pick_seq: u32§core_forceidle_count: u32§core_forceidle_seq: u32§core_forceidle_occupation: u32§__pad_8236: [u8; 4]§core_forceidle_start: u64§scratch_mask: [cpumask; 1]§nr_iowait: __anon_task_struct_47§__pad_9276: [u8; 28]Trait Implementations§
Auto Trait Implementations§
impl Freeze for rq
impl RefUnwindSafe for rq
impl !Send for rq
impl !Sync 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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§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.