Module buffer

Module buffer 

Source
Expand description

Lock-free event buffering for async memory tracking

Provides high-performance, lock-free ring buffers for collecting allocation events from async tasks with quality monitoring and overflow handling.

Structs§

AllocationEvent
Memory allocation or deallocation event
BufferStats
Get buffer statistics for monitoring
EventBuffer
Lock-free ring buffer for allocation events

Functions§

collect_all_events
Collect events from all thread buffers
get_buffer_stats
Get current thread buffer statistics
record_allocation_event
Record allocation event in current thread’s buffer
with_thread_buffer
Get reference to current thread’s event buffer