Module memory

Module memory 

Source
Expand description

Memory management and bounded history tracking Memory Management Module

Provides intelligent memory management features, including:

  • Bounded history recorder
  • Memory usage monitoring
  • Configurable memory policies

§Examples

use memscope_rs::memory::{BoundedHistory, MemoryConfig};

let config = MemoryConfig::default();
let mut history: BoundedHistory<String> = BoundedHistory::new();

Re-exports§

pub use bounded_history::BoundedHistory;
pub use bounded_history::BoundedHistoryConfig;
pub use bounded_history::BoundedHistoryStats;
pub use bounded_history::TimestampedEntry;
pub use config::MemoryConfig;

Modules§

bounded_history
Bounded History Implementation
config