pub struct SchedulerSampleV2 {
pub version: u16,
pub voluntary_context_switches: SourcedEvidenceV2<u64>,
pub involuntary_context_switches: SourcedEvidenceV2<u64>,
pub total_context_switches: SourcedEvidenceV2<u64>,
pub cpu_migrations: SourcedEvidenceV2<u64>,
pub runqueue_delay_ns: SourcedEvidenceV2<u64>,
pub timeslices: SourcedEvidenceV2<u64>,
}Expand description
One absolute scheduler-activity reading from procfs and perf software events.
Fields§
§version: u16§voluntary_context_switches: SourcedEvidenceV2<u64>§involuntary_context_switches: SourcedEvidenceV2<u64>§total_context_switches: SourcedEvidenceV2<u64>§cpu_migrations: SourcedEvidenceV2<u64>§runqueue_delay_ns: SourcedEvidenceV2<u64>§timeslices: SourcedEvidenceV2<u64>Trait Implementations§
Source§impl Clone for SchedulerSampleV2
impl Clone for SchedulerSampleV2
Source§fn clone(&self) -> SchedulerSampleV2
fn clone(&self) -> SchedulerSampleV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchedulerSampleV2
impl Debug for SchedulerSampleV2
Source§impl<'de> Deserialize<'de> for SchedulerSampleV2
impl<'de> Deserialize<'de> for SchedulerSampleV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SchedulerSampleV2
Source§impl PartialEq for SchedulerSampleV2
impl PartialEq for SchedulerSampleV2
Source§impl Serialize for SchedulerSampleV2
impl Serialize for SchedulerSampleV2
impl StructuralPartialEq for SchedulerSampleV2
Auto Trait Implementations§
impl Freeze for SchedulerSampleV2
impl RefUnwindSafe for SchedulerSampleV2
impl Send for SchedulerSampleV2
impl Sync for SchedulerSampleV2
impl Unpin for SchedulerSampleV2
impl UnsafeUnpin for SchedulerSampleV2
impl UnwindSafe for SchedulerSampleV2
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