projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5cfc89
)
move at-exit messages about pool utilization to DEBUG_TRACE
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 6 Nov 2019 16:27:49 +0000
(09:27 -0700)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 6 Nov 2019 16:27:49 +0000
(09:27 -0700)
libs/pbd/pool.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/pool.cc
b/libs/pbd/pool.cc
index 4cb72fd483e65b5e7b1f0307beb8111a56590522..3f61a786fe75a90410f737a8ecc9c2ce8f3d2a56 100644
(file)
--- 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);
}