memscope_rs/memory/
mod.rs

1//! Memory Management Module
2//!
3//! Provides intelligent memory management features, including:
4//! - Bounded history recorder
5//! - Memory usage monitoring
6//! - Configurable memory policies
7//!
8//! # Examples
9//!
10//! ```rust
11//! use memscope_rs::memory::{BoundedHistory, MemoryConfig};
12//!
13//! let config = MemoryConfig::default();
14//! let mut history: BoundedHistory<String> = BoundedHistory::new();
15//! ```
16
17pub mod bounded_history;
18pub mod config;
19
20pub use bounded_history::{
21    BoundedHistory, BoundedHistoryConfig, BoundedHistoryStats, TimestampedEntry,
22};
23pub use config::MemoryConfig;