pub struct FixedPointExecutionPlanCache { /* private fields */ }Expand description
Execution-plan cache keyed by backend identity, analysis family, graph layout, and frontier-density family.
Implementations§
Source§impl FixedPointExecutionPlanCache
impl FixedPointExecutionPlanCache
Sourcepub fn with_max_entries(max_entries: usize) -> Self
pub fn with_max_entries(max_entries: usize) -> Self
Create an empty execution-plan cache with an explicit entry bound.
Sourcepub fn get_or_plan(
&mut self,
backend: &dyn VyreBackend,
kind: FixedPointAnalysisKind,
graph: &FixedPointForwardGraph,
frontier_density: FrontierDensityTelemetry,
) -> Result<FixedPointExecutionPlan, String>
pub fn get_or_plan( &mut self, backend: &dyn VyreBackend, kind: FixedPointAnalysisKind, graph: &FixedPointForwardGraph, frontier_density: FrontierDensityTelemetry, ) -> Result<FixedPointExecutionPlan, String>
Return a plan for this backend, graph, analysis kind, and density bucket.
Sourcepub fn stats(&self) -> FixedPointExecutionPlanCacheStats
pub fn stats(&self) -> FixedPointExecutionPlanCacheStats
Return point-in-time plan-cache counters.
Trait Implementations§
Source§impl Clone for FixedPointExecutionPlanCache
impl Clone for FixedPointExecutionPlanCache
Source§fn clone(&self) -> FixedPointExecutionPlanCache
fn clone(&self) -> FixedPointExecutionPlanCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FixedPointExecutionPlanCache
impl Debug for FixedPointExecutionPlanCache
impl StructuralPartialEq for FixedPointExecutionPlanCache
Auto Trait Implementations§
impl Freeze for FixedPointExecutionPlanCache
impl RefUnwindSafe for FixedPointExecutionPlanCache
impl Send for FixedPointExecutionPlanCache
impl Sync for FixedPointExecutionPlanCache
impl Unpin for FixedPointExecutionPlanCache
impl UnsafeUnpin for FixedPointExecutionPlanCache
impl UnwindSafe for FixedPointExecutionPlanCache
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