memscope-rs 0.2.3

A memory tracking library for Rust applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Snapshot Engine - Snapshot construction and aggregation
//!
//! This module provides the SnapshotEngine which is responsible for
//! building memory snapshots from event data.

use std::sync::Arc;

pub mod builder;
pub mod engine;
pub mod memory;
pub mod types;

pub use builder::build_snapshot_from_events;
pub use engine::SnapshotEngine;
pub use types::{ActiveAllocation, MemorySnapshot, MemoryStats, ThreadMemoryStats};

/// Shared reference to SnapshotEngine
pub type SharedSnapshotEngine = Arc<SnapshotEngine>;