summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-11-06 09:27:49 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-11-06 09:27:49 -0700
commit24252b92c663076dc33abbeb83208ab16658eab8 (patch)
treef27755e2d4c5ffff28149e17d64b7d313861e2af /libs/pbd
parentd5cfc898e4ca641f57d702c79f4afc5d352e48f4 (diff)
move at-exit messages about pool utilization to DEBUG_TRACE
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pool.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/pbd/pool.cc b/libs/pbd/pool.cc
index 4cb72fd483..3f61a786fe 100644
--- a/libs/pbd/pool.cc
+++ b/libs/pbd/pool.cc
@@ -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);
}