Skip to main content

memscope_rs/snapshot/
mod.rs

1//! Snapshot Engine - Snapshot construction and aggregation
2//!
3//! This module provides the SnapshotEngine which is responsible for
4//! building memory snapshots from event data.
5
6use std::sync::Arc;
7
8pub mod engine;
9pub mod memory;
10pub mod types;
11
12pub use engine::SnapshotEngine;
13pub use types::{ActiveAllocation, MemorySnapshot, MemoryStats, ThreadMemoryStats};
14
15/// Shared reference to SnapshotEngine
16pub type SharedSnapshotEngine = Arc<SnapshotEngine>;