move at-exit messages about pool utilization to DEBUG_TRACE
This commit is contained in:
parent
d5cfc898e4
commit
24252b92c6
@ -62,10 +62,7 @@ Pool::Pool (string n, unsigned long item_size, unsigned long nitems)
|
||||
|
||||
Pool::~Pool ()
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
// TODO: after collecting some stats, use DEBUG::PoolStats here
|
||||
cerr << "Pool: '" << _name << "' max: " << max_usage << " / " << total() << endmsg;
|
||||
#endif
|
||||
DEBUG_TRACE (DEBUG::Pool, string_compose ("Pool: '%1' max: %2 / %3", name(), max_usage, total()));
|
||||
free (block);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user