Expand description
High-performance sampling-based memory tracker using binary serialization.
This module implements the core multi-thread tracking system using:
- bincode binary serialization for zero-overhead data storage
- Intelligent sampling (frequency + size dimensions)
- Thread-local storage with file-based communication
- Batch writing for optimal performance
Structs§
- Event
- Core event data structure optimized for binary serialization
- Frequency
Data - Frequency data for call stack analysis
- Sampling
Config - Configuration for sampling behavior
- Sampling
Tracker - High-performance sampling tracker with intelligent sampling strategies
- Thread
Stats - Basic thread statistics
Enums§
- Event
Type - Types of memory operations we track
Functions§
- get_
sampling_ tracker - Get the global sampling tracker
- init_
sampling_ tracker - Initialize the sampling tracker with custom configuration