struct SchedBusyTracker<S> {
cpu_states: HashMap<u32, CpuState>,
sink: S,
}Fields§
§cpu_states: HashMap<u32, CpuState>§sink: SImplementations§
Source§impl<S: BusyIntervalSink> SchedBusyTracker<S>
impl<S: BusyIntervalSink> SchedBusyTracker<S>
fn new(sink: S) -> Self
fn process_record(&mut self, record: PerfSchedScriptRecord)
fn finish(self, _trace_end_ns: u64) -> S
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for SchedBusyTracker<S>where
S: Freeze,
impl<S> RefUnwindSafe for SchedBusyTracker<S>where
S: RefUnwindSafe,
impl<S> Send for SchedBusyTracker<S>where
S: Send,
impl<S> Sync for SchedBusyTracker<S>where
S: Sync,
impl<S> Unpin for SchedBusyTracker<S>where
S: Unpin,
impl<S> UnsafeUnpin for SchedBusyTracker<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SchedBusyTracker<S>where
S: UnwindSafe,
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