Expand description
High-level API for async memory tracking
Provides user-friendly functions for initializing tracking, spawning tracked tasks, and retrieving memory statistics.
Structs§
- Async
Memory Snapshot - Memory usage snapshot for async tasks
- Tracked
Future - Future wrapper that provides task-level memory tracking
Functions§
- create_
tracked - Create a tracked future wrapper
- get_
memory_ snapshot - Get current memory usage snapshot
- initialize
- Initialize async memory tracking system
- is_
tracking_ active - Check if async memory tracking is currently active
- spawn_
tracked - Spawn a tracked async task