fn predict_loop(
l: &LoopReport,
trace: &[Sample],
used: &mut [bool],
) -> LoopTimingExpand description
A loop’s samples are split into runs of the loop (a sample outside it ends a run: an outer loop’s next iteration), and each run into items: an item starts with a prefix sample that comes after the rest of the body, or after a sample of the same or a later prefix statement.