pub struct HotPathDetector { /* private fields */ }Expand description
Hot path detector that identifies frequently executed code paths.
Implementations§
Source§impl HotPathDetector
impl HotPathDetector
Sourcepub fn detect_hot_paths(&self, cache: &JitCache) -> Vec<JitKey>
pub fn detect_hot_paths(&self, cache: &JitCache) -> Vec<JitKey>
Detect hot paths from cache statistics.
Sourcepub fn recommend_recompilation(
&self,
cache: &JitCache,
) -> Vec<(JitKey, OptimizationLevel)>
pub fn recommend_recompilation( &self, cache: &JitCache, ) -> Vec<(JitKey, OptimizationLevel)>
Recommend recompilation for hot paths.
Sourcepub fn recommend_deoptimization(&self, cache: &JitCache) -> Vec<JitKey>
pub fn recommend_deoptimization(&self, cache: &JitCache) -> Vec<JitKey>
Recommend deoptimization for cold paths.
Auto Trait Implementations§
impl Freeze for HotPathDetector
impl RefUnwindSafe for HotPathDetector
impl Send for HotPathDetector
impl Sync for HotPathDetector
impl Unpin for HotPathDetector
impl UnwindSafe for HotPathDetector
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