From 24252b92c663076dc33abbeb83208ab16658eab8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 6 Nov 2019 09:27:49 -0700 Subject: [PATCH] move at-exit messages about pool utilization to DEBUG_TRACE --- libs/pbd/pool.cc | 5 +---- 1 file changed, 1 insertion(+), 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); } -- 2.30.2