#[repr(C)]pub struct cake_task_ctx__bindgen_ty_1 {Show 62 fields
pub run_start_ns: c_ulong,
pub run_duration_ns: c_ulong,
pub enqueue_start_ns: c_ulong,
pub wait_duration_ns: c_ulong,
pub select_cpu_duration_ns: c_uint,
pub enqueue_duration_ns: c_uint,
pub dsq_insert_ns: c_uint,
pub gate_1_hits: c_uint,
pub gate_2_hits: c_uint,
pub gate_1w_hits: c_uint,
pub gate_3_hits: c_uint,
pub gate_1p_hits: c_uint,
pub gate_1c_hits: c_uint,
pub gate_1cp_hits: c_uint,
pub gate_1d_hits: c_uint,
pub gate_1wc_hits: c_uint,
pub gate_tun_hits: c_uint,
pub jitter_accum_ns: c_ulong,
pub total_runs: c_uint,
pub core_placement: c_ushort,
pub migration_count: c_ushort,
pub preempt_count: c_ushort,
pub yield_count: c_ushort,
pub direct_dispatch_count: c_ushort,
pub enqueue_count: c_ushort,
pub cpumask_change_count: c_ushort,
pub stopping_duration_ns: c_uint,
pub running_duration_ns: c_uint,
pub max_runtime_us: c_uint,
pub dispatch_gap_ns: c_ulong,
pub max_dispatch_gap_ns: c_ulong,
pub wait_hist_lt10us: c_uint,
pub wait_hist_lt100us: c_uint,
pub wait_hist_lt1ms: c_uint,
pub wait_hist_ge1ms: c_uint,
pub slice_util_pct: c_ushort,
pub llc_id: c_ushort,
pub same_cpu_streak: c_ushort,
pub _pad_recomp: c_ushort,
pub wakeup_source_pid: c_uint,
pub nivcsw_snapshot: c_ulong,
pub nvcsw_delta: c_uint,
pub nivcsw_delta: c_uint,
pub pid: c_uint,
pub tgid: c_uint,
pub comm: [c_char; 16],
pub gate_cascade_ns: c_uint,
pub idle_probe_ns: c_uint,
pub vtime_compute_ns: c_uint,
pub mbox_staging_ns: c_uint,
pub _pad_ewma: c_uint,
pub classify_ns: c_uint,
pub vtime_staging_ns: c_uint,
pub warm_history_ns: c_uint,
pub quantum_full_count: c_ushort,
pub quantum_yield_count: c_ushort,
pub quantum_preempt_count: c_ushort,
pub _pad_quantum: c_ushort,
pub waker_cpu: c_ushort,
pub _pad_waker: c_ushort,
pub waker_tgid: c_uint,
pub cpu_run_count: [c_ushort; 64],
}Fields§
§run_start_ns: c_ulong§run_duration_ns: c_ulong§enqueue_start_ns: c_ulong§wait_duration_ns: c_ulong§select_cpu_duration_ns: c_uint§enqueue_duration_ns: c_uint§dsq_insert_ns: c_uint§gate_1_hits: c_uint§gate_2_hits: c_uint§gate_1w_hits: c_uint§gate_3_hits: c_uint§gate_1p_hits: c_uint§gate_1c_hits: c_uint§gate_1cp_hits: c_uint§gate_1d_hits: c_uint§gate_1wc_hits: c_uint§gate_tun_hits: c_uint§jitter_accum_ns: c_ulong§total_runs: c_uint§core_placement: c_ushort§migration_count: c_ushort§preempt_count: c_ushort§yield_count: c_ushort§direct_dispatch_count: c_ushort§enqueue_count: c_ushort§cpumask_change_count: c_ushort§stopping_duration_ns: c_uint§running_duration_ns: c_uint§max_runtime_us: c_uint§dispatch_gap_ns: c_ulong§max_dispatch_gap_ns: c_ulong§wait_hist_lt10us: c_uint§wait_hist_lt100us: c_uint§wait_hist_lt1ms: c_uint§wait_hist_ge1ms: c_uint§slice_util_pct: c_ushort§llc_id: c_ushort§same_cpu_streak: c_ushort§_pad_recomp: c_ushort§wakeup_source_pid: c_uint§nivcsw_snapshot: c_ulong§nvcsw_delta: c_uint§nivcsw_delta: c_uint§pid: c_uint§tgid: c_uint§comm: [c_char; 16]§gate_cascade_ns: c_uint§idle_probe_ns: c_uint§vtime_compute_ns: c_uint§mbox_staging_ns: c_uint§_pad_ewma: c_uint§classify_ns: c_uint§vtime_staging_ns: c_uint§warm_history_ns: c_uint§quantum_full_count: c_ushort§quantum_yield_count: c_ushort§quantum_preempt_count: c_ushort§_pad_quantum: c_ushort§waker_cpu: c_ushort§_pad_waker: c_ushort§waker_tgid: c_uint§cpu_run_count: [c_ushort; 64]Trait Implementations§
Source§impl Clone for cake_task_ctx__bindgen_ty_1
impl Clone for cake_task_ctx__bindgen_ty_1
Source§fn clone(&self) -> cake_task_ctx__bindgen_ty_1
fn clone(&self) -> cake_task_ctx__bindgen_ty_1
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 cake_task_ctx__bindgen_ty_1
impl Debug for cake_task_ctx__bindgen_ty_1
impl Copy for cake_task_ctx__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for cake_task_ctx__bindgen_ty_1
impl RefUnwindSafe for cake_task_ctx__bindgen_ty_1
impl Send for cake_task_ctx__bindgen_ty_1
impl Sync for cake_task_ctx__bindgen_ty_1
impl Unpin for cake_task_ctx__bindgen_ty_1
impl UnsafeUnpin for cake_task_ctx__bindgen_ty_1
impl UnwindSafe for cake_task_ctx__bindgen_ty_1
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>
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> 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.