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 builder;
9pub mod engine;
10pub mod memory;
11pub mod types;
12
13pub use builder::build_snapshot_from_events;
14pub use engine::SnapshotEngine;
15pub use types::{ActiveAllocation, MemorySnapshot, MemoryStats, ThreadMemoryStats};
16
17/// Shared reference to SnapshotEngine
18pub type SharedSnapshotEngine = Arc<SnapshotEngine>;