mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: It is useful/interesting to have an overview about total bytes allocated, not only the number of malloc calls. This is not used to fail tests though, more as an informational thing. Modifications: Introduce and hit new counter with allocated size whenever allocations happen. Result: It is possible to inspect the total allocated bytes.