pub struct EcosystemPerformanceMonitor { /* private fields */ }Expand description
Performance monitor for the ecosystem
Implementations§
Source§impl EcosystemPerformanceMonitor
impl EcosystemPerformanceMonitor
pub fn new() -> Self
Sourcepub fn collect_metrics(&mut self) -> CoreResult<()>
pub fn collect_metrics(&mut self) -> CoreResult<()>
Collect system and module metrics
Sourcepub fn record_operation_duration(
&mut self,
module_name: &str,
duration: Duration,
)
pub fn record_operation_duration( &mut self, module_name: &str, duration: Duration, )
Record operation duration for a module
Sourcepub fn generate_report(&self) -> EcosystemPerformanceReport
pub fn generate_report(&self) -> EcosystemPerformanceReport
Generate comprehensive performance report
Sourcepub fn create_optimized_pipeline(
&self,
_input: &AdvancedInput,
_config: &CrossModuleOptimizationConfig,
) -> CoreResult<OptimizedPipeline>
pub fn create_optimized_pipeline( &self, _input: &AdvancedInput, _config: &CrossModuleOptimizationConfig, ) -> CoreResult<OptimizedPipeline>
Create optimized pipeline based on performance analysis
Sourcepub fn apply_pre_stage_optimization(
&self,
data: AdvancedInput,
stage: &PipelineStage,
_context: &OptimizationContext,
) -> CoreResult<AdvancedInput>
pub fn apply_pre_stage_optimization( &self, data: AdvancedInput, stage: &PipelineStage, _context: &OptimizationContext, ) -> CoreResult<AdvancedInput>
Apply pre-stage optimization
Sourcepub fn execute_pipeline_stage(
&self,
data: AdvancedInput,
stage: &PipelineStage,
) -> CoreResult<AdvancedInput>
pub fn execute_pipeline_stage( &self, data: AdvancedInput, stage: &PipelineStage, ) -> CoreResult<AdvancedInput>
Execute pipeline stage
Sourcepub fn apply_post_stage_optimization(
&self,
data: AdvancedInput,
stage: &PipelineStage,
context: &mut OptimizationContext,
) -> CoreResult<AdvancedInput>
pub fn apply_post_stage_optimization( &self, data: AdvancedInput, stage: &PipelineStage, context: &mut OptimizationContext, ) -> CoreResult<AdvancedInput>
Apply post-stage optimization
Trait Implementations§
Source§impl Debug for EcosystemPerformanceMonitor
impl Debug for EcosystemPerformanceMonitor
Auto Trait Implementations§
impl Freeze for EcosystemPerformanceMonitor
impl RefUnwindSafe for EcosystemPerformanceMonitor
impl Send for EcosystemPerformanceMonitor
impl Sync for EcosystemPerformanceMonitor
impl Unpin for EcosystemPerformanceMonitor
impl UnwindSafe for EcosystemPerformanceMonitor
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more