struct HintAnnotator<'a> {
hint_index: &'a HintIndex,
cursors: HashMap<u32, usize>,
last_sample_time_ns: HashMap<u32, u64>,
ordering_issues: OrderingIssues,
}Fields§
§hint_index: &'a HintIndex§cursors: HashMap<u32, usize>§last_sample_time_ns: HashMap<u32, u64>§ordering_issues: OrderingIssuesImplementations§
Source§impl<'a> HintAnnotator<'a>
impl<'a> HintAnnotator<'a>
fn new(hint_index: &'a HintIndex) -> Self
fn annotate<R: HintAssignable>(&mut self, record: &mut R)
fn annotate_sched_record(&mut self, record: &mut PerfSchedScriptRecord)
fn resolve_hint(&mut self, tid: u32, time_ns: u64) -> Option<u64>
fn finish(self) -> Option<OrderingIssues>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HintAnnotator<'a>
impl<'a> RefUnwindSafe for HintAnnotator<'a>
impl<'a> Send for HintAnnotator<'a>
impl<'a> Sync for HintAnnotator<'a>
impl<'a> Unpin for HintAnnotator<'a>
impl<'a> UnsafeUnpin for HintAnnotator<'a>
impl<'a> UnwindSafe for HintAnnotator<'a>
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