use std::time::{Duration, Instant, SystemTime};
use super::types::StatisticsConfig;
impl Default for StatisticsConfig {
fn default() -> Self {
Self {
enable_detailed_tracking: true,
enable_historical_data: true,
retention_period: Duration::from_secs(7 * 24 * 3600),
sampling_interval: Duration::from_secs(60),
enable_trend_analysis: true,
enable_predictive_analytics: true,
max_historical_points: 10000,
enable_performance_profiling: true,
enable_fragmentation_tracking: true,
confidence_threshold: 0.95,
}
}
}