Print allocation statistics in pools and arenas #671
Labels
algorithms
Algorithms and data structures
easy hacks
The solution is expected to be straightforward even if you are new to the project
enhancement
help wanted
An important and awaited task but we have no human resources for it yet
core::SlabPool and core::HeapArena are two classes through which roc performs most allocations.
It would be convenient to see simple allocation statistics from them in logs:
We can compute and print this statistics, say, with period of one minute.
There is a class core::RateLimiter that allows to check if next period expired. We can do this check e.g. after every allocation.
The text was updated successfully, but these errors were encountered: