Feature #681
MemPool: make it easier to get just stats
Description
I wanted to get some usage stats from MemPool
objects; it was not as easy/helpful as I would have liked.
History
#1 Updated by John Abbott almost 9 years ago
Currently it is possible to get some stats reports from
MemPool
objects by doing all of the following:
MemPoolDebug::ourInitialVerbosityLevel = 2;
or perhaps level 1 is enoughMemPoolDebug::ourDefaultMarginSize = 0;
to disable margins and memory checksMemPoolDebug::ourOutputStatusInterval = 30;
for a status report every 30secs
The status report was not as helpful as I would have liked; it should probably also include a summary of total number of allocs/deallocs.