pub struct PgoOptimizationLog { /* private fields */ }Implementations§
Source§impl PgoOptimizationLog
impl PgoOptimizationLog
pub fn new() -> Self
pub fn record(&mut self, function: impl Into<String>, decision: PgoDecision)
pub fn generate_report(&self) -> String
pub fn filter_by_function(&self, name: &str) -> Vec<&PgoDecision>
pub fn inline_decisions(&self) -> Vec<&PgoDecision>
Auto Trait Implementations§
impl Freeze for PgoOptimizationLog
impl RefUnwindSafe for PgoOptimizationLog
impl Send for PgoOptimizationLog
impl Sync for PgoOptimizationLog
impl Unpin for PgoOptimizationLog
impl UnsafeUnpin for PgoOptimizationLog
impl UnwindSafe for PgoOptimizationLog
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