Structs§
- RssPeak
Sampler - Background thread polls RSS while an export runs so
peak_rss_mbreflects in-process highs, not only values at start/end (which often miss parallel workers’ allocations). - Semaphore
- Counting semaphore built on
Mutex + Condvarso blocked acquirers park in the kernel rather than spinning on an atomic.
Functions§
- check_
memory - get_
rss_ mb - Returns the current process RSS in megabytes, or 0 if unavailable.