pub struct SchedCpuUtilCfsFtraceEvent {Show 15 fields
pub active: Option<i32>,
pub capacity: Option<u64>,
pub capacity_orig: Option<u64>,
pub cpu: Option<u32>,
pub cpu_importance: Option<u64>,
pub cpu_util: Option<u64>,
pub exit_lat: Option<u32>,
pub group_capacity: Option<u64>,
pub grp_overutilized: Option<u32>,
pub idle_cpu: Option<u32>,
pub nr_running: Option<u32>,
pub spare_cap: Option<i64>,
pub task_fits: Option<u32>,
pub wake_group_util: Option<u64>,
pub wake_util: Option<u64>,
}Fields§
§active: Option<i32>§capacity: Option<u64>§capacity_orig: Option<u64>§cpu: Option<u32>§cpu_importance: Option<u64>§cpu_util: Option<u64>§exit_lat: Option<u32>§group_capacity: Option<u64>§grp_overutilized: Option<u32>§idle_cpu: Option<u32>§nr_running: Option<u32>§spare_cap: Option<i64>§task_fits: Option<u32>§wake_group_util: Option<u64>§wake_util: Option<u64>Implementations§
Source§impl SchedCpuUtilCfsFtraceEvent
impl SchedCpuUtilCfsFtraceEvent
Sourcepub fn active(&self) -> i32
pub fn active(&self) -> i32
Returns the value of active, or the default value if active is unset.
Sourcepub fn capacity(&self) -> u64
pub fn capacity(&self) -> u64
Returns the value of capacity, or the default value if capacity is unset.
Sourcepub fn capacity_orig(&self) -> u64
pub fn capacity_orig(&self) -> u64
Returns the value of capacity_orig, or the default value if capacity_orig is unset.
Sourcepub fn cpu_importance(&self) -> u64
pub fn cpu_importance(&self) -> u64
Returns the value of cpu_importance, or the default value if cpu_importance is unset.
Sourcepub fn cpu_util(&self) -> u64
pub fn cpu_util(&self) -> u64
Returns the value of cpu_util, or the default value if cpu_util is unset.
Sourcepub fn exit_lat(&self) -> u32
pub fn exit_lat(&self) -> u32
Returns the value of exit_lat, or the default value if exit_lat is unset.
Sourcepub fn group_capacity(&self) -> u64
pub fn group_capacity(&self) -> u64
Returns the value of group_capacity, or the default value if group_capacity is unset.
Sourcepub fn grp_overutilized(&self) -> u32
pub fn grp_overutilized(&self) -> u32
Returns the value of grp_overutilized, or the default value if grp_overutilized is unset.
Sourcepub fn idle_cpu(&self) -> u32
pub fn idle_cpu(&self) -> u32
Returns the value of idle_cpu, or the default value if idle_cpu is unset.
Sourcepub fn nr_running(&self) -> u32
pub fn nr_running(&self) -> u32
Returns the value of nr_running, or the default value if nr_running is unset.
Sourcepub fn spare_cap(&self) -> i64
pub fn spare_cap(&self) -> i64
Returns the value of spare_cap, or the default value if spare_cap is unset.
Sourcepub fn task_fits(&self) -> u32
pub fn task_fits(&self) -> u32
Returns the value of task_fits, or the default value if task_fits is unset.
Sourcepub fn wake_group_util(&self) -> u64
pub fn wake_group_util(&self) -> u64
Returns the value of wake_group_util, or the default value if wake_group_util is unset.
Trait Implementations§
Source§impl Clone for SchedCpuUtilCfsFtraceEvent
impl Clone for SchedCpuUtilCfsFtraceEvent
Source§fn clone(&self) -> SchedCpuUtilCfsFtraceEvent
fn clone(&self) -> SchedCpuUtilCfsFtraceEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SchedCpuUtilCfsFtraceEvent
impl Debug for SchedCpuUtilCfsFtraceEvent
Source§impl Default for SchedCpuUtilCfsFtraceEvent
impl Default for SchedCpuUtilCfsFtraceEvent
Source§fn default() -> SchedCpuUtilCfsFtraceEvent
fn default() -> SchedCpuUtilCfsFtraceEvent
Source§impl Message for SchedCpuUtilCfsFtraceEvent
impl Message for SchedCpuUtilCfsFtraceEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl Copy for SchedCpuUtilCfsFtraceEvent
impl StructuralPartialEq for SchedCpuUtilCfsFtraceEvent
Auto Trait Implementations§
impl Freeze for SchedCpuUtilCfsFtraceEvent
impl RefUnwindSafe for SchedCpuUtilCfsFtraceEvent
impl Send for SchedCpuUtilCfsFtraceEvent
impl Sync for SchedCpuUtilCfsFtraceEvent
impl Unpin for SchedCpuUtilCfsFtraceEvent
impl UnwindSafe for SchedCpuUtilCfsFtraceEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
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>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].