stop_system_profiling

Function stop_system_profiling 

Source
pub fn stop_system_profiling() -> Result<(), Box<dyn Error>>
Expand description

Stop all monitoring and generate comprehensive analysis report

This creates an enhanced analysis that includes:

  • Traditional memory allocation analysis
  • CPU utilization patterns and bottlenecks
  • GPU workload distribution
  • I/O performance characteristics
  • Network usage patterns
  • Cross-correlation between different resource types

§Returns

Result indicating success or error during finalization and report generation

§Example

use memscope_rs::lockfree::enhanced_api::{start_full_system_profiling, stop_system_profiling};
use std::time::Duration;

start_full_system_profiling("./analysis", Duration::from_millis(250))?;
// Your application code here
stop_system_profiling()?;