pub struct AdaptiveOptimizer { /* private fields */ }Expand description
Adaptive optimizer that progressively optimizes based on runtime profiling.
Implementations§
Source§impl AdaptiveOptimizer
impl AdaptiveOptimizer
Sourcepub fn analyze_and_recommend(
&self,
cache: &JitCache,
) -> AdaptiveOptimizationPlan
pub fn analyze_and_recommend( &self, cache: &JitCache, ) -> AdaptiveOptimizationPlan
Analyze runtime behavior and recommend optimizations.
Sourcepub fn optimize(&self, cache: &JitCache) -> Result<usize, ExecutorError>
pub fn optimize(&self, cache: &JitCache) -> Result<usize, ExecutorError>
Apply adaptive optimizations to the cache.
Sourcepub fn hot_path_detector(&self) -> &HotPathDetector
pub fn hot_path_detector(&self) -> &HotPathDetector
Get the hot path detector.
Auto Trait Implementations§
impl Freeze for AdaptiveOptimizer
impl RefUnwindSafe for AdaptiveOptimizer
impl Send for AdaptiveOptimizer
impl Sync for AdaptiveOptimizer
impl Unpin for AdaptiveOptimizer
impl UnwindSafe for AdaptiveOptimizer
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